summaryrefslogtreecommitdiff
path: root/core/ops_json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/ops_json.rs')
-rw-r--r--core/ops_json.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/ops_json.rs b/core/ops_json.rs
index d368453d9..309fac12d 100644
--- a/core/ops_json.rs
+++ b/core/ops_json.rs
@@ -122,8 +122,6 @@ mod tests {
r#"
// First we initialize the ops cache. This maps op names to their id's.
Deno.core.ops();
- // Register the error class.
- Deno.core.registerErrorClass('Error', Error);
async function f1() {
await Deno.core.opAsync('op_throw', 'hello');