#![allow(non_snake_case)] mod spec_test; mod ok { //! Tests that must pass according to the JSON specification tests_macros::gen_tests! {"tests/json_test_suite/ok/*.json", crate::spec_test::run, "ok"} } mod err { //! Tests that must fail according to the JSON specification tests_macros::gen_tests! {"tests/json_test_suite/err/*.json", crate::spec_test::run, "error"} } mod undefined { //! parsers are free to accept or reject content tests_macros::gen_tests! {"tests/json_test_suite/undefined/*.json", crate::spec_test::run, "undefined"} }