Skip to content

Commit f69045b

Browse files
committed
Test bytes in stdout first in test_read_large_file_bug
Signed-off-by: Jiahao XU <[email protected]>
1 parent 70a78c1 commit f69045b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/openssh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ async fn test_read_large_file_bug() {
962962

963963
assert!(status.success());
964964

965-
assert_eq!(stdout.len(), bs * count);
966965
stdout.iter().copied().for_each(|byte| assert_eq!(byte, 0));
966+
assert_eq!(stdout.len(), bs * count);
967967
}
968968
}

0 commit comments

Comments
 (0)