Module Name: src Committed By: rillig Date: Sat Aug 21 07:49:48 UTC 2021
Modified Files: src/tests/usr.bin/xlint: check-expect.lua Log Message: tests/lint: suggest better quickfix for expected lint diagnostics The /* expect */ comments are usually so detailed that they are placed in a line of their own, referring to the following line. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/usr.bin/xlint/check-expect.lua Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/usr.bin/xlint/check-expect.lua diff -u src/tests/usr.bin/xlint/check-expect.lua:1.11 src/tests/usr.bin/xlint/check-expect.lua:1.12 --- src/tests/usr.bin/xlint/check-expect.lua:1.11 Thu Aug 19 20:32:33 2021 +++ src/tests/usr.bin/xlint/check-expect.lua Sat Aug 21 07:49:48 2021 @@ -1,5 +1,5 @@ #! /usr/bin/lua --- $NetBSD: check-expect.lua,v 1.11 2021/08/19 20:32:33 rillig Exp $ +-- $NetBSD: check-expect.lua,v 1.12 2021/08/21 07:49:48 rillig Exp $ --[[ @@ -116,7 +116,7 @@ local function check_test(c_fname, error end if not found then - errors:add("error: %s: missing /* expect: %s */", act.location, act.message) + errors:add("error: %s: missing /* expect+1: %s */", act.location, act.message) end end