summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-02-01 03:16:52 +0100
committerGitHub <noreply@github.com>2024-02-01 02:16:52 +0000
commit830d096b66696ad9f4e67b3ed8460fb1ff7a9170 (patch)
treeefa513f071b65888f407fbe1f54fc4c2531c471b /cli/tests/testdata
parentfddbb018c1f2467eef49fdef46488337b869fc38 (diff)
fix(publish): rename --no-fast-check to --no-zap (#22214)
Also prints an information about the flag when there are `zap` errors.
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/publish/invalid_fast_check.out4
-rw-r--r--cli/tests/testdata/publish/no_zap.out (renamed from cli/tests/testdata/publish/no_fast_check.out)0
2 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/publish/invalid_fast_check.out b/cli/tests/testdata/publish/invalid_fast_check.out
index f37638b9f..34b9b0314 100644
--- a/cli/tests/testdata/publish/invalid_fast_check.out
+++ b/cli/tests/testdata/publish/invalid_fast_check.out
@@ -9,4 +9,8 @@ error[zap-missing-explicit-return-type]: missing explicit return type in the pub
info: all functions in the public API must have an explicit return type
docs: https://jsr.io/go/zap-missing-explicit-return-type
+This package contains Zap errors. Although conforming to Zap will
+significantly improve the type checking performance of your library,
+you can choose to skip it by providing the --no-zap flag.
+
error: Found 1 problem
diff --git a/cli/tests/testdata/publish/no_fast_check.out b/cli/tests/testdata/publish/no_zap.out
index ac26c67c2..ac26c67c2 100644
--- a/cli/tests/testdata/publish/no_fast_check.out
+++ b/cli/tests/testdata/publish/no_zap.out