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:
parent
0e7144f2dc
commit
8aba5e76ae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user