diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-03-23 16:33:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 16:33:42 +0100 |
commit | b82ded84d341cda98821592556804a529638589c (patch) | |
tree | c36dae6ea227c21f0238cad05ce4315f5547eca3 /cli/tests/testdata | |
parent | 53dac7451bbdd527aa91e01653b678547624fc39 (diff) |
fix(bench): require --unstable flag in JavaScript (#14091)
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/bench/requires_unstable.js | 1 | ||||
-rw-r--r-- | cli/tests/testdata/bench/requires_unstable.out | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/bench/requires_unstable.js b/cli/tests/testdata/bench/requires_unstable.js new file mode 100644 index 000000000..06a07bb38 --- /dev/null +++ b/cli/tests/testdata/bench/requires_unstable.js @@ -0,0 +1 @@ +Deno.bench("bench0", () => {}); diff --git a/cli/tests/testdata/bench/requires_unstable.out b/cli/tests/testdata/bench/requires_unstable.out new file mode 100644 index 000000000..574fb07e1 --- /dev/null +++ b/cli/tests/testdata/bench/requires_unstable.out @@ -0,0 +1 @@ +Unstable API 'Deno.bench'. The --unstable flag must be provided. |