Return to testnames_test.go CVS log | Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint / files |
File: [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint / files / Attic / testnames_test.go (download)
Revision 1.8, Tue Nov 19 06:51:38 2019 UTC (4 years, 5 months ago) by rillig
pkgtools/pkglint: update to 19.3.9 Changes since 19.3.8: Match man pages in ALTERNATIVES with their counterparts in PLIST. In PLIST files, ${PKGMANDIR} may be abbreviated as a simple "man", but not in ALTERNATIVES. |
package pkglint import ( "gopkg.in/check.v1" "netbsd.org/pkglint/intqa" ) // Ensures that all test names follow a common naming scheme: // // Test_${Type}_${Method}__${description_using_underscores} func (s *Suite) Test__test_names(c *check.C) { ck := intqa.NewTestNameChecker(c.Errorf) ck.Configure("*", "*", "*", -intqa.EMissingTest) ck.Configure("*yacc.go", "*", "*", intqa.ENone) ck.Check() }