diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-10-22 14:15:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 21:15:00 +0000 |
commit | 5e020ebc3507947cd9e999a4f7213d2d0d5416cf (patch) | |
tree | e5a26cc4e33ff55b7a6602228921b4a9d5a8e8d1 /tests | |
parent | 28b5640657ce875a73eb3a1ffed287a61de164b4 (diff) |
fix(check): support `--frozen` on deno check (#26479)
Fixes https://github.com/denoland/deno/issues/26391
Diffstat (limited to 'tests')
-rw-r--r-- | tests/specs/lockfile/frozen_lockfile/__test__.jsonc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/specs/lockfile/frozen_lockfile/__test__.jsonc b/tests/specs/lockfile/frozen_lockfile/__test__.jsonc index 7a7b9c233..07ec2c4c1 100644 --- a/tests/specs/lockfile/frozen_lockfile/__test__.jsonc +++ b/tests/specs/lockfile/frozen_lockfile/__test__.jsonc @@ -183,6 +183,19 @@ "exitCode": 1 } ] + }, + "check_subcommand": { + "steps": [ + { + "args": "check --frozen=true add.ts", + "output": "[WILDCARD]The lockfile is out of date[WILDCARD]", + "exitCode": 1 + }, + { + "args": "check --frozen=false add.ts", + "output": "[WILDCARD]Check [WILDCARD]add.ts\n" + } + ] } } } |