summaryrefslogtreecommitdiff
path: root/src/test-interp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-interp.cc')
-rw-r--r--src/test-interp.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test-interp.cc b/src/test-interp.cc
index 737f440c..d911aee2 100644
--- a/src/test-interp.cc
+++ b/src/test-interp.cc
@@ -61,7 +61,10 @@ class InterpTest : public ::testing::Test {
TEST_F(InterpTest, Empty) {
+ ASSERT_TRUE(mod_.empty());
ReadModule({0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00});
+ Instantiate();
+ ASSERT_FALSE(mod_.empty());
}
TEST_F(InterpTest, MVP) {