PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Integration: #2681 make the self-reply assertion able to fail
aiongg540635572963
diff --git a/crates/xfdf/src/tests.rs b/crates/xfdf/src/tests.rsindex a33f1a101..d83befe8d 100644--- a/crates/xfdf/src/tests.rs+++ b/crates/xfdf/src/tests.rs@@ -157,7 +157,7 @@ fn a_replace_text_pair_survives_an_xfdf_round_trip() {let xfdf = export_xfdf(&src, true, false, "a.pdf");assert!(xfdf.contains("name=\"strike\"") && xfdf.contains("name=\"caret\""), "each gets its own name: {xfdf}");assert!(xfdf.contains("inreplyto=\"strike\""), "the caret replies to the strikeout: {xfdf}");- assert!(!xfdf.contains("name=\"caret\" ... inreplyto=\"caret\""), "never a reply to itself");+ assert!(!xfdf.contains("inreplyto=\"caret\""), "never a reply to itself");let mut dst = blank();let r = import(&mut dst, xfdf.as_bytes()).unwrap();