Skip to content

Commit

Permalink
test: also test instantiate with parser errors in wasm_engine_test
Browse files Browse the repository at this point in the history
This was missed in 287e51c.
axic committed May 25, 2020
1 parent af983e1 commit b613c3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unittests/wasm_engine_test.cpp
Original file line number Diff line number Diff line change
@@ -21,6 +21,8 @@ TEST(wasm_engine, parse_error)
{
auto engine = engine_create_fn();
ASSERT_FALSE(engine->parse(wasm));
// Instantiate also performs parsing first.
ASSERT_FALSE(engine->instantiate(wasm));
}
}

0 comments on commit b613c3e

Please sign in to comment.