chore: migrate test to testify kit (#12230)
- convert t.fatal to require.Fail
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
50ae252f9c
Коммит
6a2f09ae78
@@ -544,7 +544,7 @@ func TestGetEmbedForPost(t *testing.T) {
|
||||
</head>
|
||||
</html>`))
|
||||
} else {
|
||||
t.Fatal("Invalid path", r.URL.Path)
|
||||
require.Fail(t, "Invalid path", r.URL.Path)
|
||||
}
|
||||
}))
|
||||
defer server.Close()
|
||||
|
||||
Ссылка в новой задаче
Block a user