summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/webgpu/01_webgpu.js2
-rw-r--r--tests/util/server/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js
index 31b0a75f6..b8b13ebf8 100644
--- a/ext/webgpu/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
@@ -2040,7 +2040,7 @@ class GPUBuffer {
device.pushErrorPromise(promise);
const err = await promise;
if (err) {
- throw new DOMException("validation error occured", "OperationError");
+ throw new DOMException("validation error occurred", "OperationError");
}
this[_state] = "mapped";
this[_mappingRange] = [offset, offset + rangeSize];
diff --git a/tests/util/server/src/lib.rs b/tests/util/server/src/lib.rs
index 7638c4efe..5fd403992 100644
--- a/tests/util/server/src/lib.rs
+++ b/tests/util/server/src/lib.rs
@@ -723,7 +723,7 @@ pub fn wildcard_match_detailed(
);
output_lines.push(colors::gray(annotate_whitespace(search_text)));
output_lines
- .push("==== HAD UNKNOWN PRECEEDING TEXT ====".to_string());
+ .push("==== HAD UNKNOWN PRECEDING TEXT ====".to_string());
output_lines
.push(colors::red(annotate_whitespace(&current_text[..index])));
return WildcardMatchResult::Fail(output_lines.join("\n"));