File: remove-snapbox.diff

package info (click to toggle)
rust-toml-edit 0.22.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,352 kB
  • sloc: makefile: 2
file content (51 lines) | stat: -rw-r--r-- 1,290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Index: toml-edit/Cargo.toml
===================================================================
--- toml-edit.orig/Cargo.toml
+++ toml-edit/Cargo.toml
@@ -155,3 +155,0 @@
-[dev-dependencies.snapbox]
-version = "0.6.0"
-
Index: toml-edit/src/parser/mod.rs
===================================================================
--- toml-edit.orig/src/parser/mod.rs
+++ toml-edit/src/parser/mod.rs
@@ -157,8 +157,8 @@ pub(crate) mod prelude {
 #[cfg(feature = "display")]
 mod test {
     use super::*;
-    use snapbox::assert_data_eq;
-    use snapbox::prelude::*;
+    //use snapbox::assert_data_eq;
+    //use snapbox::prelude::*;
 
     #[test]
     fn documents() {
@@ -233,7 +233,7 @@ key = "value"
                 }
             };
 
-            assert_data_eq!(doc.to_string(), input.raw());
+            //assert_data_eq!(doc.to_string(), input.raw());
         }
     }
 
Index: toml-edit/tests/testsuite/main.rs
===================================================================
--- toml-edit.orig/tests/testsuite/main.rs
+++ toml-edit/tests/testsuite/main.rs
@@ -1,9 +1,9 @@
 #![recursion_limit = "256"]
 
-mod convert;
-mod datetime;
-mod edit;
+//mod convert;
+//mod datetime;
+//mod edit;
 mod float;
-mod invalid;
-mod parse;
+//mod invalid;
+//mod parse;
 mod stackoverflow;