diff options
Diffstat (limited to 'core/runtime.rs')
-rw-r--r-- | core/runtime.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index 305052e9a..e4fe8cd6c 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -1919,11 +1919,7 @@ pub mod tests { #[test] fn test_error_builder() { - fn op_err( - _: &mut OpState, - _: (), - _: Option<ZeroCopyBuf>, - ) -> Result<(), AnyError> { + fn op_err(_: &mut OpState, _: (), _: ()) -> Result<(), AnyError> { Err(custom_error("DOMExceptionOperationError", "abc")) } |