mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
test: fix use of t.Logf where t.Log would suffice (#16328)
This commit is contained in:
@@ -283,9 +283,9 @@ func TestMigrateUpWithFixtures(t *testing.T) {
|
||||
}
|
||||
}
|
||||
if len(emptyTables) > 0 {
|
||||
t.Logf("The following tables have zero rows, consider adding fixtures for them or create a full database dump:")
|
||||
t.Log("The following tables have zero rows, consider adding fixtures for them or create a full database dump:")
|
||||
t.Errorf("tables have zero rows: %v", emptyTables)
|
||||
t.Logf("See https://github.com/coder/coder/blob/main/docs/CONTRIBUTING.md#database-fixtures-for-testing-migrations for more information")
|
||||
t.Log("See https://github.com/coder/coder/blob/main/docs/CONTRIBUTING.md#database-fixtures-for-testing-migrations for more information")
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user