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 702246d commit 7a675b9Copy full SHA for 7a675b9
ctest-next/tests/basic.rs
@@ -35,6 +35,8 @@ fn bless_equal(new_file: impl AsRef<Path>, old_file: impl AsRef<Path>) -> Result
35
let new_content = fs::read_to_string(&new_file)?.replace("\r\n", "\n");
36
let old_content = fs::read_to_string(&old_file)?.replace("\r\n", "\n");
37
38
+ println!("{:#?}\n---\n{:#?}", new_content, old_content);
39
+
40
let equal = new_content == old_content;
41
if env::var("LIBCBLESS").is_ok() && !equal {
42
fs::write(old_file, new_content)?;
0 commit comments