simplify macro for arrays (#1856)

This commit is contained in:
Ilya Baryshnikov
2019-11-09 01:12:22 +03:00
committed by Alex Crichton
parent 3573164b52
commit ada615f3dd
2 changed files with 12 additions and 12 deletions

View File

@ -5,7 +5,7 @@ use wasm_bindgen_test::*;
#[wasm_bindgen_test]
fn parse_array() {
let js_array = JSON::parse("[1, 2, 3]").unwrap();;
let js_array = JSON::parse("[1, 2, 3]").unwrap();
assert!(Array::is_array(&js_array));
let array = Array::from(&js_array);