chore: migrate test to testify kit (#12230)

- convert t.fatal to require.Fail
Этот коммит содержится в:
Ogundele Olumide
2019-09-16 16:27:40 +01:00
коммит произвёл 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()