Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 629c9ee

Browse files
committed
Add wait_with_borrowed_pipe() to ignore/pipefail test suite
1 parent d233912 commit 629c9ee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_macros.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,9 @@ fn test_pipe() -> CmdResult {
233233
test_cases_for_entry_point!((spawn_with_output!(...))
234234
.unwrap()
235235
.wait_with_raw_output(&mut vec![])),
236-
// FIXME: wait_with_pipe() is currently busted
237-
// test_cases_for_entry_point!((spawn_with_output!(...))
238-
// .unwrap()
239-
// .wait_with_pipe(&mut |_stdout| {})),
236+
test_cases_for_entry_point!((spawn_with_output!(...))
237+
.unwrap()
238+
.wait_with_borrowed_pipe(&mut |_stdout| {})),
240239
];
241240

242241
macro_rules! check_eq {

0 commit comments

Comments
 (0)