Skip to content

Commit

Permalink
Update lib/js-api/tests/externals.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Enderlin <[email protected]>
  • Loading branch information
syrusakbary and Hywan authored Jul 22, 2021
1 parent 14bd3cb commit 17cf814
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/js-api/tests/externals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,6 @@ fn memory_grow() {
attempted_delta: 10.into()
})
);

// let bad_desc = MemoryType::new(Pages(15), Some(Pages(10)), false);
// let bad_result = Memory::new(&store, bad_desc);

// // assert!(matches!(bad_result, Err(MemoryError::InvalidMemory { .. })));
// assert!(bad_result.is_err());
}

#[wasm_bindgen_test]
Expand Down

0 comments on commit 17cf814

Please sign in to comment.