diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-23 19:39:31 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-24 14:52:38 -0700 |
commit | fd68f85ce8cfbb036f0bc2c532f423d8ffa78289 (patch) | |
tree | dc6ed9f2fad00efdd5ae5468b4abf3631d54bd24 /libdeno/test.h | |
parent | 3438dbe3509da8e8674dd803e8ecdc92e30f7d61 (diff) |
libdeno: deno_new should take a snapshot parameter.
Diffstat (limited to 'libdeno/test.h')
-rw-r--r-- | libdeno/test.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |