1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-19 09:02:15 +02:00

Fix test on Windows.

(This is what I get for directly pushing to master.)
This commit is contained in:
Andrew Gallant 2017-03-12 16:07:01 -04:00
parent 80e91a1f1d
commit 6ecffec537

View File

@ -1054,7 +1054,7 @@ clean!(regression_405, "test", ".", |wd: WorkDir, mut cmd: Command| {
cmd.arg("-g").arg("!/foo/**"); cmd.arg("-g").arg("!/foo/**");
let lines: String = wd.stdout(&mut cmd); 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 // See: https://github.com/BurntSushi/ripgrep/issues/7