Versions in this module Expand all Collapse all v0 v0.2.0 Apr 14, 2020 Changes in this version type Suite + LoadStubs []string v0.1.0 Oct 31, 2019 Changes in this version + func GetFileReports(t *testing.T, contents string) []*linter.Report + func ParseTestFile(t *testing.T, filename, content string) (rootNode node.Node, w *linter.RootWalker) + func SimpleNegativeTest(t *testing.T, contents string) + type Suite struct + Expect []string + Files []TestFile + func NewSuite(t *testing.T) *Suite + func (s *Suite) AddFile(contents string) + func (s *Suite) AddNolintFile(contents string) + func (s *Suite) Match(reports []*linter.Report) + func (s *Suite) RunAndMatch() + func (s *Suite) RunLinter() []*linter.Report + type TestFile struct + Data []byte + Name string + Nolint bool