Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Apr 26, 2019
1 parent a32d255 commit 70480ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/js-sys/tests/wasm/Object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 70480ad

Please sign in to comment.