Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
bannzai committed Jan 12, 2022
1 parent f7f86f6 commit 4de6a6a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nodecheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ func Test(t *testing.T) {
analysistest.Run(t, testdata, nodecheck.Analyzer(""), "a")
}

func TestWithSingleExclude(t *testing.T) {
func TestWithSingleExclusion(t *testing.T) {
testdata := analysistest.TestData(t)
analysistest.Run(t, testdata, nodecheck.Analyzer("Community"), "b")
}

func TestWithMultipleExclusion(t *testing.T) {
testdata := analysistest.TestData(t)
analysistest.Run(t, testdata, nodecheck.Analyzer("Community,Item"), "c")
}

0 comments on commit 4de6a6a

Please sign in to comment.