소스 검색

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 {};
     }