diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-05-03 14:59:52 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-03 08:59:52 -0400 |
commit | bf9b0c8231d59bfcc79e55b6cde861b68975d5b4 (patch) | |
tree | 3d3afe84f16d548835578e398fdf997446fc04a9 /tests | |
parent | 4d4dcafb96bdffa3050e863df0ef4ddd158ebf16 (diff) |
Fix: deno --v8-options does not print v8 options (#2277)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/v8_flags.js | 1 | ||||
-rw-r--r-- | tests/v8_flags.js.out | 1 | ||||
-rw-r--r-- | tests/v8_flags.test | 2 | ||||
-rw-r--r-- | tests/v8_help.out | 3 | ||||
-rw-r--r-- | tests/v8_help.test | 2 |
5 files changed, 9 insertions, 0 deletions
diff --git a/tests/v8_flags.js b/tests/v8_flags.js new file mode 100644 index 000000000..f7999c4af --- /dev/null +++ b/tests/v8_flags.js @@ -0,0 +1 @@ +console.log(typeof gc); diff --git a/tests/v8_flags.js.out b/tests/v8_flags.js.out new file mode 100644 index 000000000..e2dbde096 --- /dev/null +++ b/tests/v8_flags.js.out @@ -0,0 +1 @@ +function diff --git a/tests/v8_flags.test b/tests/v8_flags.test new file mode 100644 index 000000000..66d129bd1 --- /dev/null +++ b/tests/v8_flags.test @@ -0,0 +1,2 @@ +args: --v8-flags=--expose-gc tests/v8_flags.js +output: tests/v8_flags.js.out diff --git a/tests/v8_help.out b/tests/v8_help.out new file mode 100644 index 000000000..3d7aac28d --- /dev/null +++ b/tests/v8_help.out @@ -0,0 +1,3 @@ +[WILDCARD] +Synopsis: +[WILDCARD]d8[WILDCARD]
\ No newline at end of file diff --git a/tests/v8_help.test b/tests/v8_help.test new file mode 100644 index 000000000..2fe105654 --- /dev/null +++ b/tests/v8_help.test @@ -0,0 +1,2 @@ +args: --v8-options +output: tests/v8_help.out |