diff options
| -rw-r--r-- | .gitlab-ci.yml | 6 | ||||
| -rw-r--r-- | tests/core.fnl | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0978899..1b4ed46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,10 @@ variables: cd .cache [ -d fennel ] || git clone -q https://git.sr.ht/~technomancy/fennel cd fennel || exit -1 - git pull - git checkout 0.9.1 + git checkout -q . + git checkout -q main + git pull -q --rebase + git checkout 0.8.1 make clean make install cd "$CI_PROJECT_DIR" diff --git a/tests/core.fnl b/tests/core.fnl index fb532d3..bac93dd 100644 --- a/tests/core.fnl +++ b/tests/core.fnl @@ -445,9 +445,10 @@ (assert-eq (keys {:a 1}) [:a]) (assert-eq (vals {:a 1}) [1]) (match (pcall #(assert-eq (keys {:a 1 :b 2 :c 3}) (hash-set :a :b :c))) - (false msg) (io.stderr:write (.. "WARNING: " msg))) + (false msg) (io.stderr:write "WARNING: " msg)) + (print "10") (match (pcall #(assert-eq (vals {:a 1 :b 2 :c 3}) (hash-set 1 2 3))) - (false msg) (io.stderr:write (.. "WARNING: " msg))) + (false msg) (io.stderr:write "WARNING: " msg)) (assert-eq (find {:a 1 :b 2 :c 3} :c) [:c 3]) (assert-eq (find {:a 1 :b 2 :c 3} :d) nil))) |