summaryrefslogtreecommitdiff
path: root/deno2/deno_test.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-06-11 17:01:35 +0200
committerRyan Dahl <ry@tinyclouds.org>2018-06-11 17:50:06 +0200
commit0e07e16dd63992f5f989dc99c891d53d930a2d5b (patch)
tree11ba4caac3003bf42ff91d81bd880e56641b7593 /deno2/deno_test.cc
parentb042c7c071827fd516bf7b5b52f2aed0473691e1 (diff)
Add mock_runtime_test.
Diffstat (limited to 'deno2/deno_test.cc')
-rw-r--r--deno2/deno_test.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/deno2/deno_test.cc b/deno2/deno_test.cc
deleted file mode 100644
index 0b570a4b5..000000000
--- a/deno2/deno_test.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
-// All rights reserved. MIT License.
-#include "testing/gtest/include/gtest/gtest.h"
-
-#include "include/deno.h"
-
-TEST(DenoTest, InitializesCorrectly) {
- deno_init();
- Deno* d = deno_new(NULL, NULL);
- int r = deno_load(d, "a.js", "1 + 2");
- EXPECT_EQ(r, 0);
-}
-
-int main(int argc, char** argv) {
- testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}