File: add-feature-gate-to-test.patch

package info (click to toggle)
rust-pest-vm 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: makefile: 4
file content (12 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests/surround.rs b/tests/surround.rs
index c889ca6..6600ef2 100644
--- a/tests/surround.rs
+++ b/tests/surround.rs
@@ -24,6 +24,7 @@ fn vm() -> Vm {
 }
 
 #[test]
+#[cfg(feature = "grammar-extras")]
 fn quote() {
     parses_to! {
         parser: vm(),