| @@ -190,27 +190,27 @@ func (s *Suite) TestMkLine_CheckVaralign | | | @@ -190,27 +190,27 @@ func (s *Suite) TestMkLine_CheckVaralign |
190 | | | 190 | |
191 | mklines.Check() | | 191 | mklines.Check() |
192 | | | 192 | |
193 | c.Check(s.OutputCleanTmpdir(), equals, ""+ | | 193 | c.Check(s.OutputCleanTmpdir(), equals, ""+ |
194 | "AUTOFIX: ~/Makefile:6: Replacing \"VAR= \" with \"VAR=\\t\".\n"+ | | 194 | "AUTOFIX: ~/Makefile:6: Replacing \"VAR= \" with \"VAR=\\t\".\n"+ |
195 | "AUTOFIX: ~/Makefile:7: Replacing \"VAR= \" with \"VAR=\\t\".\n"+ | | 195 | "AUTOFIX: ~/Makefile:7: Replacing \"VAR= \" with \"VAR=\\t\".\n"+ |
196 | "AUTOFIX: ~/Makefile:12: Replacing \"BLOCK=\\t\" with \"BLOCK=\\t\\t\".\n"+ | | 196 | "AUTOFIX: ~/Makefile:12: Replacing \"BLOCK=\\t\" with \"BLOCK=\\t\\t\".\n"+ |
197 | "AUTOFIX: ~/Makefile:15: Replacing \"GRP_A= \" with \"GRP_A=\\t\\t\".\n"+ | | 197 | "AUTOFIX: ~/Makefile:15: Replacing \"GRP_A= \" with \"GRP_A=\\t\\t\".\n"+ |
198 | "AUTOFIX: ~/Makefile:16: Replacing \"GRP_AA= \" with \"GRP_AA=\\t\\t\".\n"+ | | 198 | "AUTOFIX: ~/Makefile:16: Replacing \"GRP_AA= \" with \"GRP_AA=\\t\\t\".\n"+ |
199 | "AUTOFIX: ~/Makefile:17: Replacing \"GRP_AAA= \" with \"GRP_AAA=\\t\".\n"+ | | 199 | "AUTOFIX: ~/Makefile:17: Replacing \"GRP_AAA= \" with \"GRP_AAA=\\t\".\n"+ |
200 | "AUTOFIX: ~/Makefile:18: Replacing \"GRP_AAAA= \" with \"GRP_AAAA=\\t\".\n"+ | | 200 | "AUTOFIX: ~/Makefile:18: Replacing \"GRP_AAAA= \" with \"GRP_AAAA=\\t\".\n"+ |
201 | "AUTOFIX: ~/Makefile: Has been auto-fixed. Please re-run pkglint.\n") | | 201 | "AUTOFIX: ~/Makefile: Has been auto-fixed. Please re-run pkglint.\n") |
202 | c.Check(s.LoadTmpFile(c, "Makefile"), equals, ""+ | | 202 | c.Check(s.LoadTmpFile(c, "Makefile"), equals, ""+ |
203 | "# $NetBSD: mkline_test.go,v 1.7 2016/01/24 02:03:28 rillig Exp $\n"+ | | 203 | "# $"+"NetBSD$\n"+ |
204 | "\n"+ | | 204 | "\n"+ |
205 | "VAR= \\\n"+ | | 205 | "VAR= \\\n"+ |
206 | "\tvalue\n"+ | | 206 | "\tvalue\n"+ |
207 | "\n"+ | | 207 | "\n"+ |
208 | "VAR=\tindented with one space\n"+ | | 208 | "VAR=\tindented with one space\n"+ |
209 | "VAR=\tindented with two spaces\n"+ | | 209 | "VAR=\tindented with two spaces\n"+ |
210 | "\n"+ | | 210 | "\n"+ |
211 | "BLOCK=\tindented with tab\n"+ | | 211 | "BLOCK=\tindented with tab\n"+ |
212 | "BLOCK_LONGVAR= indented with space\n"+ | | 212 | "BLOCK_LONGVAR= indented with space\n"+ |
213 | "\n"+ | | 213 | "\n"+ |
214 | "BLOCK=\t\tshort\n"+ | | 214 | "BLOCK=\t\tshort\n"+ |
215 | "BLOCK_LONGVAR=\tlong\n"+ | | 215 | "BLOCK_LONGVAR=\tlong\n"+ |
216 | "\n"+ | | 216 | "\n"+ |