On Windows, a sample project with this structure:
test-judge
├───src
│ test-judge.janet
└───test
test.janet
Where /src/test-judge.janet contains:
# src/test-judge.janet
(defn test-fn []
(print "Hello, world"))
(defn main [& args]
(print "Hello, World!"))
And /test/test.janet contains:
# /test/test.janet
(use judge)
(import /src/test-judge)
(test (test-judge/test-fn) nil)
Running the following works:
PS test-judge> judge
# test/test.janet
Hello, world
1 passed
But the following does not:
PS test-judge> judge .\test\test.janet
0 passed
I'm running the version that jpm installs with jpm install https://github.com/ianthehenry/judge (presumably, v2.9.0).
The same test structure and the same version of Judge has no problems running in a test Linux environment.
I'm running Janet version 1.38.0, downloaded from the Releases section on janet-lang/janet:
PS > janet --version
1.38.0-local
Am I holding it wrong?
On Windows, a sample project with this structure:
Where
/src/test-judge.janetcontains:And
/test/test.janetcontains:Running the following works:
But the following does not:
I'm running the version that
jpminstalls withjpm install https://github.com/ianthehenry/judge(presumably, v2.9.0).The same test structure and the same version of Judge has no problems running in a test Linux environment.
I'm running Janet version 1.38.0, downloaded from the Releases section on janet-lang/janet:
Am I holding it wrong?