diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-11-19 17:13:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 09:13:38 +0100 |
commit | c806fbdabe144c865612bbbc9ef596c9611c8310 (patch) | |
tree | edb38d58720377580677ccbeffb693ffa1225cc4 /cli/tests/integration | |
parent | a7548afb58b9848e501a085455446f5de897ffaa (diff) |
fix(ext,runtime): add missing custom inspections (#21219)
Diffstat (limited to 'cli/tests/integration')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index be3f74df0..0ddedbdfb 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -357,7 +357,7 @@ fn webstorage_location_shares_origin() { .wait_with_output() .unwrap(); assert!(output.status.success()); - assert_eq!(output.stdout, b"Storage { length: 1, hello: \"deno\" }\n"); + assert_eq!(output.stdout, b"Storage { hello: \"deno\", length: 1 }\n"); } // test to ensure that when a --config file is set, but no --location, that @@ -384,7 +384,7 @@ fn webstorage_config_file() { .new_command() .args("run --config run/webstorage/config_a.jsonc run/webstorage/logger.ts") .run() - .assert_matches_text("Storage { length: 1, hello: \"deno\" }\n"); + .assert_matches_text("Storage { hello: \"deno\", length: 1 }\n"); } // tests to ensure `--config` does not effect persisted storage when a @@ -401,7 +401,7 @@ fn webstorage_location_precedes_config() { context.new_command() .args("run --location https://example.com/b.ts --config run/webstorage/config_b.jsonc run/webstorage/logger.ts") .run() - .assert_matches_text("Storage { length: 1, hello: \"deno\" }\n"); + .assert_matches_text("Storage { hello: \"deno\", length: 1 }\n"); } // test to ensure that when there isn't a configuration or location, that the @@ -426,7 +426,7 @@ fn webstorage_main_module() { .new_command() .args("run run/webstorage/fixture.ts") .run() - .assert_matches_text("Storage { length: 1, hello: \"deno\" }\n"); + .assert_matches_text("Storage { hello: \"deno\", length: 1 }\n"); } itest!(_075_import_local_query_hash { |