瀏覽代碼

Tests: Fix typos

Nico Weber 3 年之前
父節點
當前提交
841a5fe81b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Tests/Kernel/mprotect-multi-region-mprotect.cpp
  2. 1 1
      Tests/LibWasm/test-wasm.cpp

+ 1 - 1
Tests/Kernel/mprotect-multi-region-mprotect.cpp

@@ -56,7 +56,7 @@ int main()
     outln("Mprotect 2 ranges [2, -- ,2] -> Error");
     rc = mprotect(map1, 6 * PAGE_SIZE, PROT_READ);
     if (!rc) {
-        perror("mprotect full over missing succeded");
+        perror("mprotect full over missing succeeded");
         return 1;
     }
 

+ 1 - 1
Tests/LibWasm/test-wasm.cpp

@@ -116,7 +116,7 @@ TESTJS_GLOBAL_FUNCTION(parse_webassembly_module, parseWebAssemblyModule)
     }
 
     if (stream.handle_any_error()) {
-        vm.throw_exception<JS::SyntaxError>(global_object, "Bianry stream contained errors");
+        vm.throw_exception<JS::SyntaxError>(global_object, "Binary stream contained errors");
         return {};
     }