From: Shivani Bhardwaj Date: Wed, 15 Jul 2020 11:58:14 +0000 (+0530) Subject: jsonbuilder: run test if not debug-validate X-Git-Tag: suricata-6.0.0-beta1~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35362b7bfa08c83d15e6e6e5cb1f39f712ad5511;p=thirdparty%2Fsuricata.git jsonbuilder: run test if not debug-validate --- diff --git a/rust/src/jsonbuilder.rs b/rust/src/jsonbuilder.rs index 15ac0ff0b3..cef8d80e08 100644 --- a/rust/src/jsonbuilder.rs +++ b/rust/src/jsonbuilder.rs @@ -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();