Permalink
Browse files

Fix tests for 7bf9dc1 commit

  • Loading branch information...
1 parent 4dbb7f8 commit ad9695f95796f589681ceab1c7b91b79bf547214 @ptaoussanis committed Mar 28, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/test_tower/main.clj
View
@@ -150,7 +150,8 @@
;; Missing keys & key fallback
(with-locale :en
- (is (= (t :invalid) "<Missing translation: {:locale :en, :scope nil, :k-or-ks :invalid}>"))
+ (is (= (t :invalid) "<Missing translation: '{:locale :en, :scope nil, :k-or-ks :invalid}'>"))
+ (is (= (t :invalid "arg") "<Missing translation: {:locale :en, :scope nil, :k-or-ks :invalid}>"))
(is (= (t [:invalid :example/foo]) ":en :example/foo text"))
(is (= (t [:invalid "Explicit fallback"]) "Explicit fallback"))
(is (= (t [:invalid nil]) nil))))

0 comments on commit ad9695f

Please sign in to comment.