Skip to content

Commit

Permalink
Merge pull request #39 from hatstand/patch-1
Browse files Browse the repository at this point in the history
Fix grammar in `shouldHaveHadLength` message
  • Loading branch information
Michael Whatcott committed Jul 1, 2020
2 parents d32cab8 + ff0f82a commit 23e1c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messages.go
Expand Up @@ -55,7 +55,7 @@ const (

shouldHaveBeenAValidInteger = "You must provide a valid integer (was %v)!"
shouldHaveBeenAValidLength = "You must provide a valid positive integer (was %v)!"
shouldHaveHadLength = "Expected collection to have length equal to [%v], but it's length was [%v] instead! contents: %+v"
shouldHaveHadLength = "Expected collection to have length equal to [%v], but its length was [%v] instead! contents: %+v"

shouldHaveStartedWith = "Expected '%v'\nto start with '%v'\n(but it didn't)!"
shouldNotHaveStartedWith = "Expected '%v'\nNOT to start with '%v'\n(but it did)!"
Expand Down

0 comments on commit 23e1c44

Please sign in to comment.