From ca5773c167b69a1657be933666a406f06d5b5926 Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Mon, 10 May 2021 09:44:03 +1000 Subject: [PATCH] only test json if the feature's enabled 0uo --- src/tests/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/mod.rs b/src/tests/mod.rs index be37c58..4afdc17 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -365,6 +365,7 @@ fn outputs_move_commands() { } #[test] +#[cfg(feature = "json")] /// Ensure JSON output is valid. fn test_json() { use crate::formats::Json;