File: fix-glob-test-feature-requirement.patch

package info (click to toggle)
rust-insta 1.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,392 kB
  • sloc: makefile: 35; sh: 9
file content (10 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
Index: insta/tests/test_glob.rs
===================================================================
--- insta.orig/tests/test_glob.rs
+++ insta/tests/test_glob.rs
@@ -1,4 +1,4 @@
-#![cfg(feature = "glob")]
+#![cfg(all(feature = "glob", feature = "json"))]
 
 #[test]
 fn test_basic_globbing() {