Discover Packages
gopkg.in/alecthomas/gometalinter.v2
regressiontests
package
Version:
v2.0.12
Opens a new window with list of versions in this module.
Published: Dec 16, 2018
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
These tests run specific linters through gometalinter and verify that they
output what we expect from a particular piece of source code.
Expand ▾
Collapse ▴
Documentation
¶
ExpectIssues runs gometalinter and expects it to generate exactly the
issues provided.
type Issue struct {
Linter string `json:"linter"`
Severity string `json:"severity"`
Path string `json:"path"`
Line int `json:"line"`
Col int `json:"col"`
Message string `json:"message"`
}
RunLinter runs the gometalinter as a binary against the files at path and
returns the issues it encountered
Source Files
¶
Click to show internal directories.
Click to hide internal directories.