namespace reorg: libdeno and DenoCore to Deno.core (#1998)

This commit is contained in:
Kitson Kelly 2019-03-26 23:22:07 +11:00 committed by Ryan Dahl
parent ed2977d3c0
commit c43cfedeba
26 changed files with 178 additions and 146 deletions

View file

@ -320,7 +320,7 @@ TEST(LibDenoTest, SharedAtomics) {
deno_buf shared = {nullptr, 0, reinterpret_cast<uint8_t*>(s), sizeof s, 0};
Deno* d = deno_new(deno_config{0, empty, shared, nullptr});
deno_execute(d, nullptr, "a.js",
"Atomics.add(new Int32Array(libdeno.shared), 0, 1)");
"Atomics.add(new Int32Array(Deno.core.shared), 0, 1)");
EXPECT_EQ(nullptr, deno_last_exception(d));
EXPECT_EQ(s[0], 1);
EXPECT_EQ(s[1], 1);