Fix for test on windows
authormseri <mseri@users.noreply.github.com>
Sat, 29 Aug 2015 15:07:52 +0000 (16:07 +0100)
committermseri <mseri@users.noreply.github.com>
Sat, 29 Aug 2015 15:07:52 +0000 (16:07 +0100)
tests/test_cargo_run.rs

index 90bb1313e7c419b22c8f6cf9f2dbf2bd4d467cff..a85e7bc2816857b2c454b4993ec29be188f02a43 100644 (file)
@@ -479,9 +479,10 @@ test!(run_from_executable_folder {
 
     assert_that(p.cargo("run").cwd(cwd), 
                 execs().with_status(0).with_stdout(&format!("\
-{running} `./foo`
+{running} `.{sep}foo[..]`
 hello
 ",
-        running = RUNNING
+        running = RUNNING,
+        sep = SEP
         )));
 });