summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-10 15:09:28 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-11 09:02:07 -0700
commitc7ce450ee97497944756b6af60034521953431fc (patch)
tree6ff922c90d067f0e2bd3cd0fd7ef42dbe66c1bd1 /js
parent89eee51f07f5b1689022c84a7d50d9158eaf9cd6 (diff)
Rename mock_runtime_test to libdeno_test
Fixes #465
Diffstat (limited to 'js')
-rw-r--r--js/libdeno_test.js (renamed from js/mock_runtime.js)4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/mock_runtime.js b/js/libdeno_test.js
index 34f78479e..10905494c 100644
--- a/js/mock_runtime.js
+++ b/js/libdeno_test.js
@@ -1,12 +1,12 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// A simple runtime that doesn't involve typescript or protobufs to test
-// libdeno. Invoked by mock_runtime_test.cc
+// libdeno. Invoked by libdeno_test.cc
const global = this;
function assert(cond) {
- if (!cond) throw Error("mock_runtime.js assert failed");
+ if (!cond) throw Error("libdeno_test.js assert failed");
}
global.CanCallFunction = () => {