Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
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.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/t0205-config.sh | 1 |
1 file changed, 1 insertion, 0 deletions
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 ' |
