summaryrefslogtreecommitdiff
path: root/core/libdeno/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/libdeno/test.h')
-rw-r--r--core/libdeno/test.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/libdeno/test.h b/core/libdeno/test.h
new file mode 100644
index 000000000..4ae83f810
--- /dev/null
+++ b/core/libdeno/test.h
@@ -0,0 +1,12 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+#ifndef TEST_H_
+#define TEST_H_
+
+#include "deno.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+extern deno_snapshot snapshot; // Loaded in libdeno/test.cc
+const deno_buf empty = {nullptr, 0};
+const deno_snapshot empty_snapshot = {nullptr, 0};
+
+#endif // TEST_H_