diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js index 31b0a75f65..b8b13ebf80 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 7638c4efeb..5fd4039923 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(¤t_text[..index]))); return WildcardMatchResult::Fail(output_lines.join("\n"));