aboutsummaryrefslogtreecommitdiffstats
path: root/t/chainlint/nested-loop-detect-failure.expect
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-09-18 18:02:05 -0700
committerJunio C Hamano <gitster@pobox.com>2024-09-18 18:02:05 -0700
commite6cc6939e04749465237948ee7ceb0d779a56870 (patch)
tree2be6525b576fb4364651e86edfcf52e2d5ec56ae /t/chainlint/nested-loop-detect-failure.expect
parentMerge branch 'ps/clar-unit-test' (diff)
parentchainlint: reduce annotation noise-factor (diff)
downloadgit-e6cc6939e04749465237948ee7ceb0d779a56870.tar.gz
git-e6cc6939e04749465237948ee7ceb0d779a56870.zip
Merge branch 'es/chainlint-message-updates'
The error messages from the test script checker have been improved. * es/chainlint-message-updates: chainlint: reduce annotation noise-factor chainlint: make error messages self-explanatory chainlint: don't be fooled by "?!...?!" in test body
Diffstat (limited to 't/chainlint/nested-loop-detect-failure.expect')
-rw-r--r--t/chainlint/nested-loop-detect-failure.expect6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/chainlint/nested-loop-detect-failure.expect b/t/chainlint/nested-loop-detect-failure.expect
index c13c4d2f90..b4aaa621a2 100644
--- a/t/chainlint/nested-loop-detect-failure.expect
+++ b/t/chainlint/nested-loop-detect-failure.expect
@@ -2,8 +2,8 @@
3 do
4 for j in 0 1 2 3 4 5 6 7 8 9;
5 do
-6 echo "$i$j" >"path$i$j" ?!LOOP?!
-7 done ?!LOOP?!
+6 echo "$i$j" >"path$i$j" ?!LINT: missing '|| return 1'?!
+7 done ?!LINT: missing '|| return 1'?!
8 done &&
9
10 for i in 0 1 2 3 4 5 6 7 8 9;
@@ -18,7 +18,7 @@
19 do
20 for j in 0 1 2 3 4 5 6 7 8 9;
21 do
-22 echo "$i$j" >"path$i$j" ?!LOOP?!
+22 echo "$i$j" >"path$i$j" ?!LINT: missing '|| return 1'?!
23 done || return 1
24 done &&
25