Skip to content

Commit 375f75e

Browse files
committed
Add explicit sort for mac-linux compatibility
1 parent e01031e commit 375f75e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_sanity.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def config subconfig = nil
1717

1818
def assert_init exp_score_threshold, cfg = nil
1919
root = "."
20-
exp = ["./test/test_sanity.rb", "./lib/cc/engine/flog.rb"]
20+
exp = ["./lib/cc/engine/flog.rb", "./test/test_sanity.rb"].sort
2121
ccflog = CC::Engine::Flog.new(root, config(cfg))
2222
assert_equal exp_score_threshold, ccflog.config["score_threshold"]
23-
assert_equal exp, ccflog.files
23+
assert_equal exp, ccflog.files.sort
2424

2525
exp_conf = {
2626
"include_paths" => ["."],

0 commit comments

Comments
 (0)