### ----------------------------------------------------
### -- Test::Stream
### -- Licenses: Artistic-2.0
### -- Authors: 
### -- File: lib/Test/Stream/Util.rakumod
### ----------------------------------------------------
unit package Test::Stream::Util;

# We know that that the nouns we're dealing with are all simple "add an 's'"
# nouns for pluralization.
sub maybe-plural (Int:D $count, Str:D $noun) is export {
    return $count > 1 ?? $noun ~ 's' !! $noun;
}

# vim: expandtab shiftwidth=4


