diff options
-rw-r--r-- | src/tools/wasm-interp.cc | 3 | ||||
-rw-r--r-- | test/binary/bad-data-size.txt | 2 | ||||
-rw-r--r-- | test/interp/start-failure.txt | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/tools/wasm-interp.cc b/src/tools/wasm-interp.cc index 4d63134c..b7182af6 100644 --- a/src/tools/wasm-interp.cc +++ b/src/tools/wasm-interp.cc @@ -190,8 +190,7 @@ Result ReadAndInstantiateModule(const char* module_filename, RefPtr<Trap> trap; *out_instance = Instance::Instantiate(s_store, module.ref(), imports, &trap); if (!*out_instance) { - // TODO: change to "initializing" - WriteTrap(stream, "error initialiazing module", trap); + WriteTrap(stream, "error initializing module", trap); return Result::Error; } diff --git a/test/binary/bad-data-size.txt b/test/binary/bad-data-size.txt index ca8cc6de..5bd9a2e4 100644 --- a/test/binary/bad-data-size.txt +++ b/test/binary/bad-data-size.txt @@ -14,5 +14,5 @@ section(DATA) { data[str("overflow")] } (;; STDOUT ;;; -error initialiazing module: out of bounds memory access: data segment is out of bounds: [0, 8) >= max value 0 +error initializing module: out of bounds memory access: data segment is out of bounds: [0, 8) >= max value 0 ;;; STDOUT ;;) diff --git a/test/interp/start-failure.txt b/test/interp/start-failure.txt index b3513384..82b28704 100644 --- a/test/interp/start-failure.txt +++ b/test/interp/start-failure.txt @@ -5,5 +5,5 @@ (start $start) ) (;; STDOUT ;;; -error initialiazing module: unreachable executed +error initializing module: unreachable executed ;;; STDOUT ;;) |