Given: slash-cli is compiled and you have the slash source code
When: You're in the slash/test directory
And: You run slash-cli test.sl core/array.sl
Then: You see this error:
NameError: Undefined constant 'Test' in Object
at <main> in /Users/acook/Pork/slash/test/test.sl, line 3
at <main> in test.sl, line 3
However
When: You're in the slash root source directory
And: You run slash-cli test/test.sl test/core/array.sl
Then: Tests are run successfully with this output:
...................
Tests finished. 19 passes, 0 failures, 182 assertions.
That seems weird to me. I can't figure out why just from looking at the source code either.
Given: slash-cli is compiled and you have the slash source code
When: You're in the
slash/testdirectoryAnd: You run
slash-cli test.sl core/array.slThen: You see this error:
However
When: You're in the
slashroot source directoryAnd: You run
slash-cli test/test.sl test/core/array.slThen: Tests are run successfully with this output:
That seems weird to me. I can't figure out why just from looking at the source code either.