Discover Packages
gopkg.in/alecthomas/gometalinter.v3-unstable
regressiontests
package
Version:
v3.0.0
Opens a new window with list of versions in this module.
Published: Jan 29, 2019
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.