mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-05 19:53:55 +03:00
fix test
This commit is contained in:
parent
a32d2553fc
commit
70480ad29d
@ -132,6 +132,8 @@ fn from_entries() {
|
||||
entry_one.push(&"bar".into());
|
||||
entry_two.push(&"baz".into());
|
||||
entry_two.push(&42.into());
|
||||
array.push(&entry_one);
|
||||
array.push(&entry_two);
|
||||
let object = Object::from_entries(&array).unwrap();
|
||||
|
||||
assert_eq!(Reflect::get(object.as_ref(), &"foo".into()).unwrap(), "bar");
|
||||
|
Loading…
Reference in New Issue
Block a user