github.com/bhcleek/gometalinter@v2.0.6-0.20180316043659-b25b44d18fb6+incompatible/regressiontests/lll_test.go (about) 1 package regressiontests 2 3 import "testing" 4 5 func TestLLL(t *testing.T) { 6 t.Parallel() 7 source := `package test 8 // This is a really long line full of text that is uninteresting in the extreme. Also we're just trying to make it here. 9 ` 10 expected := Issues{ 11 {Linter: "lll", Severity: "warning", Path: "test.go", Line: 2, Col: 0, Message: "line is 120 characters"}, 12 } 13 ExpectIssues(t, "lll", source, expected) 14 }