summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-05 13:26:59 -0700
committerGitHub <noreply@github.com>2024-02-05 20:26:59 +0000
commit2c621f5894b727cff4f2b0e7d045d9b579add3ed (patch)
tree026bceb6b75af64b8d8d3816edc9131775704da9 /cli/tests
parent0a3d329dd82456cd894bda257e01cd50a62d6833 (diff)
refactor(cli): Move op descriptions into Rust and prepare for op import (#22271)
This moves the op sanitizer descriptions into Rust code and prepares for eventual op import from `ext:core/ops`. We cannot import these ops from `ext:core/ops` as the testing infrastructure ops are not always present. Changes: - Op descriptions live in `cli` code and are currently accessible via an op for the older sanitizer code - `phf` dep moved to workspace root so we can use it here - `ops.op_XXX` changed to to `op_XXX` to prepare for op imports later on.
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/unit/ops_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/ops_test.ts b/cli/tests/unit/ops_test.ts
index e62d85728..c3ffe3b4d 100644
--- a/cli/tests/unit/ops_test.ts
+++ b/cli/tests/unit/ops_test.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-const EXPECTED_OP_COUNT = 157;
+const EXPECTED_OP_COUNT = 158;
Deno.test(function checkExposedOps() {
// @ts-ignore TS doesn't allow to index with symbol