1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00

chore: remove redundant //revive:disable-line (#1335)

This commit is contained in:
Oleksandr Redko
2025-05-02 12:02:31 +03:00
committed by GitHub
parent 48c047b4fb
commit 724a4ca419
3 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ func TestRetrieveModFile(t *testing.T) {
}
// TestIsGenerated tests isGenerated function.
func TestIsGenerated(t *testing.T) { //revive:disable-line:exported
func TestIsGenerated(t *testing.T) {
tests := []struct {
source string
generated bool

View File

@@ -3,7 +3,7 @@ package lint
import "testing"
// TestName tests Name function
func TestName(t *testing.T) { //revive:disable-line:exported
func TestName(t *testing.T) {
tests := []struct {
name, want string
}{

View File

@@ -283,7 +283,7 @@ func srcLine(src []byte, p token.Position) string {
}
// TestLine tests srcLine function
func TestLine(t *testing.T) { //revive:disable-line:exported
func TestLine(t *testing.T) {
tests := []struct {
src string
offset int
@@ -325,7 +325,7 @@ func exportedType(typ types.Type) bool {
}
// TestExportedType tests exportedType function
func TestExportedType(t *testing.T) { //revive:disable-line:exported
func TestExportedType(t *testing.T) {
tests := []struct {
typString string
exp bool