Skip to content

Commit 7c664da

Browse files
authored
Merge pull request #78 from delan/fix-escape-test
Fix test_escape() to work with any path to echo(1)
2 parents c13a0eb + bf17d58 commit 7c664da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ fn test_export_cmd() {
217217
fn test_escape() {
218218
let xxx = 42;
219219
assert_eq!(
220-
run_fun!(/bin/echo "\"a你好${xxx}世界b\"").unwrap(),
220+
run_fun!(echo "\"a你好${xxx}世界b\"").unwrap(),
221221
"\"a你好42世界b\""
222222
);
223223
}

0 commit comments

Comments
 (0)