From a047b3e4ed2acaf562097b8ba012335bb7e59fbd Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 28 Oct 2020 22:34:05 +0300 Subject: feature(code): greatly improve code coverage --- macros_test.fnl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'macros_test.fnl') diff --git a/macros_test.fnl b/macros_test.fnl index 98401d7..850b181 100644 --- a/macros_test.fnl +++ b/macros_test.fnl @@ -29,7 +29,14 @@ (let [a (fn [] {:a 1}) b (fn [] [[:b 2]])] (assert-eq (into (a) (b)) {:a 1 :b 2}) - (assert-eq (into (b) (a)) [[:b 2] [:a 1]])) + (assert-eq (into (b) (a)) [[:b 2] [:a 1]]) + (let [c []] + (assert-eq (into c (b)) [[:b 2]])) + (let [c []] + (assert-eq (into c (a)) [[:a 1]])) + (let [c []] + (assert-eq (into (b) c) (b)) + (assert-eq (into (a) c) (a)))) (let [a {} b []] -- cgit v1.2.3