Skip to content

Commit bf17d58

Browse files
committed
Fix test_escape() to work with any path to echo(1)
1 parent c13a0eb commit bf17d58

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)