We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933230e commit c70cc19Copy full SHA for c70cc19
tests/integration.rs
@@ -691,12 +691,12 @@ mod cmp {
691
692
let a_path = tmp_dir.path().join("a");
693
let mut a = File::create(&a_path).unwrap();
694
- write!(a, "{}c\n", "a".repeat(1024)).unwrap();
+ writeln!(a, "{}c", "a".repeat(1024)).unwrap();
695
a.flush().unwrap();
696
697
let b_path = tmp_dir.path().join("b");
698
let mut b = File::create(&b_path).unwrap();
699
- write!(b, "{}c\n", "b".repeat(1024)).unwrap();
+ writeln!(b, "{}c", "b".repeat(1024)).unwrap();
700
b.flush().unwrap();
701
702
let mut cmd = Command::cargo_bin("diffutils")?;
0 commit comments