backend/remote-state/http: drop unused assertError()

This commit is contained in:
Lars Lehtonen 2019-12-10 07:33:22 -08:00
parent 9efab422ba
commit 2845896fc9
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 0 additions and 8 deletions

View File

@ -87,14 +87,6 @@ func TestHTTPClient(t *testing.T) {
remote.TestClient(t, client)
}
func assertError(t *testing.T, err error, expected string) {
if err == nil {
t.Fatalf("Expected empty config to err")
} else if err.Error() != expected {
t.Fatalf("Expected err.Error() to be \"%s\", got \"%s\"", expected, err.Error())
}
}
type testHTTPHandler struct {
Data []byte
Locked bool