1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-10 23:50:26 +00:00

Sort files when running tests.

This commit is contained in:
Calvin Rose 2019-09-14 19:39:14 -05:00
parent 0e7144f2dc
commit 8aba5e76ae

View File

@ -778,7 +778,7 @@ int main(int argc, const char **argv) {
(phony "test" ["build"]
(defn dodir
[dir]
(each sub (os/dir dir)
(each sub (sort (os/dir dir))
(def ndir (string dir sep sub))
(case (os/stat ndir :mode)
:file (when (string/has-suffix? ".janet" ndir)