summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-01-07 22:50:38 -0500
committerAndrew Gallant <jamslam@gmail.com>2017-01-07 22:50:38 -0500
commit97e6873b38ad58de62f66fc3796b6b82876f1d79 (patch)
tree2bce80fa133624026c20bb41c987b232b4f9044e /tests
parented01e80a796b7f5cbc83c63517d884d85f1cebd7 (diff)
Fix type compose test.
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index fa024060..11a76044 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -316,7 +316,7 @@ sherlock!(file_type_add_compose, "Sherlock", ".", |wd: WorkDir, mut cmd: Command
cmd.arg("--type-add").arg("combo:include:wat,py").arg("-t").arg("combo");
let lines: String = wd.stdout(&mut cmd);
println!("{}", lines);
- assert_eq!(lines, "file.py:Sherlock\nfile.wat:Sherlock\n");
+ assert_eq!(sort_lines(&lines), "file.py:Sherlock\nfile.wat:Sherlock\n");
});
sherlock!(glob, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {