mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
test: fix use of t.Logf
where t.Log
would suffice (#16328)
This commit is contained in:
committed by
GitHub
parent
6caa29a29f
commit
c069563af1
@ -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