Skip to content

Commit e6cf45f

Browse files
committed
Fix lint
1 parent 527acae commit e6cf45f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contrib/fixtures/fixture_generation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
name string
2323
}{
2424
{
25-
models.GetYamlFixtures_Access, "access",
25+
models.GetYamlFixturesAccess, "access",
2626
},
2727
}
2828
fixturesDir string

models/fixture_generation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"strings"
1010
)
1111

12-
// GetYamlFixtures_Access returns a string containing the contents
12+
// GetYamlFixturesAccess returns a string containing the contents
1313
// for the access table, as recalculated using repo.RecalculateAccesses()
14-
func GetYamlFixtures_Access() (string, error) {
14+
func GetYamlFixturesAccess() (string, error) {
1515

1616
repos := make([]*Repository, 0, 50)
1717
if err := x.Find(&repos); err != nil {

models/fixture_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ func TestFixtureGeneration(t *testing.T) {
3030
assert.True(t, data == expected, "Differences detected for %s.yml", name)
3131
}
3232

33-
test(GetYamlFixtures_Access, "access")
33+
test(GetYamlFixturesAccess, "access")
3434
}

0 commit comments

Comments
 (0)