From 1940f88f7d4959afa20b116b81f5c1149c6f1d74 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 09:56:44 -1000 Subject: Check a warning raised inside an included file The include run checked only the line in the outer file, so a warning from the included one could have named the outer file and passed. --- tests/t0205-config.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/t0205-config.sh b/tests/t0205-config.sh index 6d4a0ff..0adb29f 100755 --- a/tests/t0205-config.sh +++ b/tests/t0205-config.sh @@ -204,6 +204,7 @@ test_expect_success 'a word where a number belongs is reported' ' echo "enable-blame=on" } >outerrc && cgit_rc outerrc "url=" >tmp 2>err && + test_grep -F "Reading enable-index-owner=no in $PWD/wordrc line 3 as 0, since it is not a whole number" err && test_grep -F "Reading enable-blame=on in $PWD/outerrc line 2 as 0, since it is not a whole number" err ' -- cgit 2.12.1