Skip to content

Commit 6eebb56

Browse files
committed
GitHub Issue #169 - add test case for issue examples
1 parent 41b5791 commit 6eebb56

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Diff for: test_format/format.eno

+30
Original file line numberDiff line numberDiff line change
@@ -2137,3 +2137,33 @@ bbb ;; bar
21372137
(foo
21382138
#aaa "aaa")
21392139
--Expected
2140+
2141+
# GitHub Issue #169 examples
2142+
2143+
--Input
2144+
(filter
2145+
#(not= 1 %) [1 2 3])
2146+
2147+
(let [result (filter
2148+
#(not= 1 %) [123])]
2149+
result)
2150+
2151+
(let [result (->>
2152+
(filter
2153+
#(not= 1 %) [123]))]
2154+
result)
2155+
--Input
2156+
2157+
--Expected
2158+
(filter
2159+
#(not= 1 %) [1 2 3])
2160+
2161+
(let [result (filter
2162+
#(not= 1 %) [123])]
2163+
result)
2164+
2165+
(let [result (->>
2166+
(filter
2167+
#(not= 1 %) [123]))]
2168+
result)
2169+
--Expected

0 commit comments

Comments
 (0)