]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
jsonbuilder: run test if not debug-validate
authorShivani Bhardwaj <shivanib134@gmail.com>
Wed, 15 Jul 2020 11:58:14 +0000 (17:28 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Wed, 15 Jul 2020 17:08:25 +0000 (22:38 +0530)
rust/src/jsonbuilder.rs

index 15ac0ff0b35e8f51984408ed779bf0fd9ba1a16c..cef8d80e08abe8242eb6968702afbfcbb023a958 100644 (file)
@@ -868,6 +868,7 @@ mod test {
     }
 
     #[test]
+    #[cfg(not(feature = "debug-validate"))]
     fn test_array_in_object() -> Result<(), JsonError> {
         let mut js = JsonBuilder::new_object();