mirror of
https://github.com/mgechev/revive.git
synced 2025-05-19 22:03:20 +02:00
14 lines
373 B
Go
14 lines
373 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
)
|
|
|
|
func TestRedundantTestMainExit(t *testing.T) {
|
|
testRule(t, "go1.15/redundant_test_main_exit_test", &rule.RedundantTestMainExitRule{})
|
|
testRule(t, "go1.15/redundant_test_main_exit", &rule.RedundantTestMainExitRule{})
|
|
testRule(t, "redundant_test_main_exit_test", &rule.RedundantTestMainExitRule{})
|
|
}
|