File: disable-test-format-rust-expression.patch

package info (click to toggle)
rust-insta 1.43.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,020 kB
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -117,7 +117,7 @@ pub fn get_cargo() -> std::ffi::OsString
     cargo.to_os_string()
 }
 
-#[test]
+/*#[test]
 fn test_format_rust_expression() {
     use crate::assert_snapshot;
     assert_snapshot!(format_rust_expression("vec![1,2,3]"), @"vec![1, 2, 3]");
@@ -125,4 +125,4 @@ fn test_format_rust_expression() {
     assert_snapshot!(format_rust_expression(r#"    "aoeu""#), @r#""aoeu""#);
     assert_snapshot!(format_rust_expression(r#"  "aoe😄""#), @r#""aoe😄""#);
     assert_snapshot!(format_rust_expression("😄😄😄😄😄"), @"😄😄😄😄😄")
-}
+}*/