From bf83969723301ae795e824b41dbf7e3344b7ece4 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 27 Nov 2013 09:28:23 -0700 Subject: [PATCH] Add unit test for calling 'count' on const map object. #90 --- unittests/map_count.chai | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 unittests/map_count.chai diff --git a/unittests/map_count.chai b/unittests/map_count.chai new file mode 100644 index 0000000..cf74e74 --- /dev/null +++ b/unittests/map_count.chai @@ -0,0 +1,5 @@ + +assert_equal(1, ["a":1].count("a")) +assert_equal(0, ["A":1].count("a")) + +