about summary refs log tree commit diff
path: root/src/parser/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/macros.rs')
-rw-r--r--src/parser/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/macros.rs b/src/parser/macros.rs
index 60db5133dc0f..406e5c0e699e 100644
--- a/src/parser/macros.rs
+++ b/src/parser/macros.rs
@@ -1,3 +1,4 @@
+#[cfg(test)]
 #[macro_use]
 macro_rules! test_parse {
     ($parser: ident, $src: expr) => {{