diff options
Diffstat (limited to 'pkgtools/pkglint/files/mklineparser_test.go')
-rw-r--r-- | pkgtools/pkglint/files/mklineparser_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/mklineparser_test.go b/pkgtools/pkglint/files/mklineparser_test.go index b459941ad27..2e2a4a160ce 100644 --- a/pkgtools/pkglint/files/mklineparser_test.go +++ b/pkgtools/pkglint/files/mklineparser_test.go @@ -38,7 +38,7 @@ func (s *Suite) Test_MkLineParser_Parse__infrastructure(c *check.C) { "WARN: infra.mk:2: USE_BUILTIN.${_pkg_:S/^-//} is defined but not used.", "WARN: infra.mk:2: _pkg_ is used but not defined.", "ERROR: infra.mk:5: \".export\" requires arguments.", - "NOTE: infra.mk:2: This variable value should be aligned to column 41.", + "NOTE: infra.mk:2: This variable value should be aligned to column 41 instead of 39.", "ERROR: infra.mk:10: Unmatched .endif.") } @@ -431,7 +431,7 @@ func (s *Suite) Test_MkLineParser_fixSpaceAfterVarname__autofix(c *check.C) { "VARNAME+ ?=\t${VARNAME}", "pkgbase := pkglint") - CheckFileMk(filename) + CheckFileMk(filename, nil) t.CheckOutputLines( "NOTE: ~/Makefile:2: Unnecessary space after variable name \"VARNAME\".", @@ -444,7 +444,7 @@ func (s *Suite) Test_MkLineParser_fixSpaceAfterVarname__autofix(c *check.C) { t.SetUpCommandLine("-Wall", "--autofix") - CheckFileMk(filename) + CheckFileMk(filename, nil) t.CheckOutputLines( "AUTOFIX: ~/Makefile:2: Replacing \"VARNAME +=\\t\" with \"VARNAME+=\\t\".", |