All tests pass again, and this time I'm in the right branch!

Two silly bugs, one in core, one in test.
This commit is contained in:
Simon Brooke 2017-09-08 15:54:59 +01:00
parent 7910d2185f
commit 8f45bee763
2 changed files with 10 additions and 9 deletions

View file

@ -199,11 +199,11 @@
(is
(=
"This is not a pipe"
(:pipe (get-messages "en-GB, fr-FR;q=0.9" "resources/i18n" "en-GB"))))
(:pipe (get-messages "en-GB, fr-FR;q=0.9" "i18n" "en-GB"))))
(is
(=
"Ceci n'est pas une pipe."
(:pipe (get-messages "en-GB;q=0.9, fr-FR" "resources/i18n" "en-GB"))))
(:pipe (get-messages "en-GB;q=0.9, fr-FR" "i18n" "en-GB"))))
(is
(= nil (get-messages "xx-XX;q=0.5, yy-YY" "resources/i18n" "zz-ZZ"))
(= nil (get-messages "xx-XX;q=0.5, yy-YY" "i18n" "zz-ZZ"))
"If no usable file is found, an exception should not be thrown.")))