From 97e6873b38ad58de62f66fc3796b6b82876f1d79 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 7 Jan 2017 22:50:38 -0500 Subject: [PATCH] Fix type compose test. --- tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.rs b/tests/tests.rs index fa02406..11a7604 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| {