@@ -177,7 +177,7 @@ fn get_jsontest_suite_commit() -> String {
177177 . unwrap_or_else ( |_| "1ef36fa01286573e846ac449e8683f8833c5b26a" . to_string ( ) )
178178}
179179
180- #[ cfg( feature = "json-checker -tests" ) ]
180+ #[ cfg( feature = "remote -tests" ) ]
181181fn get_json_checker_url ( ) -> String {
182182 std:: env:: var ( "CARGO_PKG_METADATA_CONFORMANCE_TESTS_JSON_CHECKER_URL" )
183183 . unwrap_or_else ( |_| "https://www.json.org/JSON_checker/test.zip" . to_string ( ) )
@@ -266,7 +266,7 @@ fn download_json_test_suite() -> Result<(), Box<dyn std::error::Error>> {
266266 Ok ( ( ) )
267267}
268268
269- #[ cfg( feature = "json-checker -tests" ) ]
269+ #[ cfg( feature = "remote -tests" ) ]
270270fn download_json_checker ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
271271 use std:: fs;
272272 use std:: io:: { self , Read } ;
@@ -344,7 +344,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
344344 download_json_test_suite ( ) ?;
345345 }
346346
347- #[ cfg( feature = "json-checker -tests" ) ]
347+ #[ cfg( feature = "remote -tests" ) ]
348348 {
349349 download_json_checker ( ) ?;
350350 }
@@ -353,7 +353,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
353353 #[ cfg( feature = "remote-tests" ) ]
354354 {
355355 generate_conformance_tests ( ) ?;
356- println ! ( "cargo:warning=You can now run conformance tests with: cargo test --features remote-tests,json-checker-tests " ) ;
356+ println ! ( "cargo:warning=You can now run conformance tests with: cargo test --features remote-tests" ) ;
357357 }
358358
359359 Ok ( ( ) )
0 commit comments