only test json if the feature's enabled 0uo

This commit is contained in:
Lynne Megido 2021-05-10 09:44:03 +10:00
parent a50350a15e
commit ca5773c167
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -365,6 +365,7 @@ fn outputs_move_commands() {
}
#[test]
#[cfg(feature = "json")]
/// Ensure JSON output is valid.
fn test_json() {
use crate::formats::Json;