From fd68f85ce8cfbb036f0bc2c532f423d8ffa78289 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 23 Oct 2018 19:39:31 -0400 Subject: libdeno: deno_new should take a snapshot parameter. --- libdeno/test.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libdeno/test.h (limited to 'libdeno/test.h') diff --git a/libdeno/test.h b/libdeno/test.h new file mode 100644 index 000000000..83d92e6fa --- /dev/null +++ b/libdeno/test.h @@ -0,0 +1,11 @@ +// Copyright 2018 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_buf snapshot; // Loaded in libdeno/test.cc +const deno_buf empty = {nullptr, 0, nullptr, 0}; + +#endif // TEST_H -- cgit v1.2.3