github.com/songshiyun/revive@v1.1.5-0.20220323112655-f8433a19b3c5/test/call-to-gc_test.go (about) 1 package test 2 3 import ( 4 "testing" 5 6 "github.com/songshiyun/revive/rule" 7 ) 8 9 // TestCallToGC test call-to-gc rule 10 func TestCallToGC(t *testing.T) { 11 testRule(t, "call-to-gc", &rule.CallToGCRule{}) 12 }