Olical / aniseed

Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
https://discord.gg/wXAMr8F
The Unlicense
610 stars 28 forks source link

aniseed.eval tests sometimes fail #74

Closed Olical closed 2 years ago

Olical commented 3 years ago

I'm not sure why, but since I updated Fennel I sometimes see this:

SUFFIX="test/fnl/foo.fnl" scripts/test.sh
[aniseed.string-test] OK 6/6 tests and 29/29 assertions passed
[aniseed.eval-test/repl] Expected (with pr) '[40]' but received 'nil'
[aniseed.eval-test/repl] Expected (with pr) '[25]' but received 'nil'
[aniseed.eval-test/repl] Expected (with pr) '{}' but received 'nil'
[aniseed.eval-test/repl] Expected (with pr) '{}' but received 'nil'
[aniseed.eval-test/repl] Expected (with pr) '[60]' but received 'nil'
[aniseed.eval-test/repl] Expected (with pr) '[35]' but received 'nil'
[aniseed.eval-test] FAILED 2/3 tests and 30/36 assertions passedfoofoo
bar[aniseed.nvim.util-test] OK 2/2 tests and 7/7 assertions passed
[aniseed.macros-test] OK 1/1 tests and 3/3 assertions passed
[aniseed.fs-test] OK 3/3 tests and 8/8 assertions passed
[aniseed.core-test] OK 36/36 tests and 123/123 assertions passed
[aniseed.compile-test] OK 1/1 tests and 4/4 assertions passed
[total] FAILED 51/52 tests and 204/210 assertions passed
Makefile:26: recipe for target 'test' failed
make: *** [test] Error 1

Exited with code exit status 2

I've seen things like this before and last time it was a LuaJIT bug... so it could be that again. The only way to fix it is to reword the Fennel code, or it was last time. Gross!

Olical commented 2 years ago

Oh I fixed this! :D