Skip to content

Commit 59c4aaa

Browse files
committed
uncomment some tests
1 parent f228113 commit 59c4aaa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nanvm-lib/src/tokenizer/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,16 +1064,15 @@ mod test {
10641064
big_float::BigFloat,
10651065
big_int::{BigInt, Sign},
10661066
big_uint::BigUint,
1067-
}, common::cast::Cast, mem::local::Local, tokenizer::bigfloat_to_f64
1067+
}, common::cast::Cast, mem::{global::GLOBAL, local::Local}, tokenizer::bigfloat_to_f64
10681068
};
10691069

10701070
use super::{tokenize, ErrorType, JsonToken};
10711071

10721072
#[test]
10731073
#[wasm_bindgen_test]
10741074
fn test_empty() {
1075-
let local = Local::default();
1076-
let result = tokenize(&local, String::from(""));
1075+
let result = tokenize(GLOBAL, String::from(""));
10771076
assert_eq!(result.len(), 0);
10781077
}
10791078

0 commit comments

Comments
 (0)