mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 08:08:37 +02:00
Enable testifylint rules (#34075)
enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
This commit is contained in:
1 parent
0fd5392087
commit
0fde8ecd55
262 files changed
+1315
-1365
No files matched your search
@@ -75,7 +75,7 @@ func TestDatabaseCollation(t *testing.T) {
|
||||
defer test.MockVariableValue(&setting.Database.CharsetCollation, "utf8mb4_bin")()
|
||||
r, err := db.CheckCollations(x)
|
||||
assert.NoError(t, err)
|
||||
assert.EqualValues(t, "utf8mb4_bin", r.ExpectedCollation)
|
||||
assert.Equal(t, "utf8mb4_bin", r.ExpectedCollation)
|
||||
assert.NoError(t, db.ConvertDatabaseTable())
|
||||
r, err = db.CheckCollations(x)
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in new issue
Block a user