From 4ca3efc9f700ddfe297d0a97e0fcbaf4cb0e8e95 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 14 Jun 2014 22:47:35 -0400 Subject: [PATCH] lol, wow this test was messed up --- test/clj_jtwig/functions_test.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/clj_jtwig/functions_test.clj b/test/clj_jtwig/functions_test.clj index 5bcdad7..a845aa5 100644 --- a/test/clj_jtwig/functions_test.clj +++ b/test/clj_jtwig/functions_test.clj @@ -379,11 +379,11 @@ (testing "sort_by" (is (= (render "{{ [{a: 2}, {a: 1}, {a: 5}, {a: 3}, {a: 4}]|sort_by(\"a\") }}" nil) - "[{a=2}, {a=1}, {a=5}, {a=3}, {a=4}]"))) + "[{a=1}, {a=2}, {a=3}, {a=4}, {a=5}]"))) (testing "sort_descending_by" (is (= (render "{{ [{a: 2}, {a: 1}, {a: 5}, {a: 3}, {a: 4}]|sort_descending_by(\"a\") }}" nil) - "[{a=2}, {a=1}, {a=5}, {a=3}, {a=4}]"))) + "[{a=5}, {a=4}, {a=3}, {a=2}, {a=1}]"))) (testing "wrap" (is (= (render "{{ wrap(\"Here is one line of text that is going to be wrapped after 20 columns.\", 20) }}" nil)