mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
14 lines
378 B
Go
14 lines
378 B
Go
package test_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{})
|
|
}
|