Failure → spec/loader/loader_spec.lua @ 7: tl.loader on .tl files reports filename correctly in debug info
On a fresh git clone, I tried the following test:
luarocks test
tl dev-1 depends on dkjson (2.6-1 installed)
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●◌●●●●●●●●●●●●●●●●●●●●●●●●●●●●◌●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●◼●●●●●●●●●●●◌●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●◌●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●◌●●●●●●◌●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
931 successes / 1 failure / 0 errors / 6 pending : 4.92728 seconds
Pending → spec/assignment/to_union_spec.lua @ 49
assignment to union resolves union types in map keys
Pending → spec/call/generic_function_spec.lua @ 420
generic function check that 'any' matches any type variable
Pending → spec/metamethods/call_spec.lua @ 132
metamethod __call record definition and implementations must match their types
Pending → spec/operator/is_spec.lua @ 362
flow analysis with is on while needs to resolve a fixpoint to accept some valid code
Pending → spec/stdlib/io_spec.lua @ 31
io lines resolves the type of numeric formats
Pending → spec/stdlib/io_spec.lua @ 90
io FILE lines resolves the type of numeric formats
Failure → spec/loader/loader_spec.lua @ 7
tl.loader on .tl files reports filename correctly in debug info (#508)
./spec/util.lua:137: batch assertion failed:
[1] mismatch at line 1:
Expected objects to be the same.
Passed in:
(string) 'file1'
Expected:
(string) '@./file1.tl'
Error: test suite failed.
The fix was 4 days ago, here - https://github.com/teal-language/tl/issues/508
Upon deleting the regression test, it seems like there is no more outright failure. Maybe there is something wrong configured with my computer? I assume its something simple, but I'm pretty new to lua.
Perhaps you have a different version of tl already installed and that is taking precedence during the test?...
Perhaps you have a different version of tl already installed and that is taking precedence during the test?...
I don't think this is happening, since if I break anything in the tl.tl file (purposely) tests very rapidly start failing.
Which Lua version is this on? Do you have the compat53 package installed? (You can install it with luarocks install compat53)