Skip to content

Commit

Permalink
More migration
Browse files Browse the repository at this point in the history
  • Loading branch information
saulecabrera committed Sep 10, 2024
1 parent 522411d commit 01e54b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/javy/tests/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use javy::{quickjs::context::EvalOptions, Config, Runtime};
#[test]
fn string_keys_and_ref_counting() -> Result<()> {
let mut config = Config::default();
config.override_json_parse_and_stringify(true);
config.simd_json_builtins(true);

let source = include_bytes!("string_keys_and_ref_counting.js");
let rt = Runtime::new(config)?;
Expand All @@ -26,7 +26,7 @@ fn string_keys_and_ref_counting() -> Result<()> {
#[test]
fn json_stringify_cycle_checks() -> Result<()> {
let mut config = Config::default();
config.override_json_parse_and_stringify(true);
config.simd_json_builtins(true);

let source = include_bytes!("stringify_cycle.js");
let rt = Runtime::new(config)?;
Expand Down

0 comments on commit 01e54b9

Please sign in to comment.