From 6ecffec53700a813d4b0cb192d703341a1641122 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sun, 12 Mar 2017 16:07:01 -0400 Subject: Fix test on Windows. (This is what I get for directly pushing to master.) --- tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.rs b/tests/tests.rs index d56e4952..29848aa1 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1054,7 +1054,7 @@ clean!(regression_405, "test", ".", |wd: WorkDir, mut cmd: Command| { cmd.arg("-g").arg("!/foo/**"); let lines: String = wd.stdout(&mut cmd); - assert_eq!(lines, "bar/foo/file2.txt:test\n"); + assert_eq!(lines, format!("{}:test\n", path("bar/foo/file2.txt"))); }); // See: https://github.com/BurntSushi/ripgrep/issues/7 -- cgit v1.2.3