diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-26 23:22:07 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-26 08:22:07 -0400 |
commit | c43cfedeba5d6ac96e1b1febed8549e750606e3f (patch) | |
tree | 7b3799259895acadf25294704ea03a9465051e9c /libdeno/modules_test.cc | |
parent | ed2977d3c0e9ab3295a3bb47b844b2953d608197 (diff) |
namespace reorg: libdeno and DenoCore to Deno.core (#1998)
Diffstat (limited to 'libdeno/modules_test.cc')
-rw-r--r-- | libdeno/modules_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdeno/modules_test.cc b/libdeno/modules_test.cc index 357c48641..9f9228430 100644 --- a/libdeno/modules_test.cc +++ b/libdeno/modules_test.cc @@ -19,7 +19,7 @@ TEST(ModulesTest, Resolution) { static deno_mod a = deno_mod_new(d, true, "a.js", "import { b } from 'b.js'\n" "if (b() != 'b') throw Error();\n" - "libdeno.send(new Uint8Array([4]));"); + "Deno.core.send(new Uint8Array([4]));"); EXPECT_NE(a, 0); EXPECT_EQ(nullptr, deno_last_exception(d)); @@ -71,7 +71,7 @@ TEST(ModulesTest, ResolutionError) { static deno_mod a = deno_mod_new(d, true, "a.js", "import 'bad'\n" - "libdeno.send(new Uint8Array([4]));"); + "Deno.core.send(new Uint8Array([4]));"); EXPECT_NE(a, 0); EXPECT_EQ(nullptr, deno_last_exception(d)); @@ -105,7 +105,7 @@ TEST(ModulesTest, ImportMetaUrl) { static deno_mod a = deno_mod_new(d, true, "a.js", "if ('a.js' != import.meta.url) throw 'hmm'\n" - "libdeno.send(new Uint8Array([4]));"); + "Deno.core.send(new Uint8Array([4]));"); EXPECT_NE(a, 0); EXPECT_EQ(nullptr, deno_last_exception(d)); |