Skip to content

Commit 550c064

Browse files
committed
Fix client test.
1 parent 001aabf commit 550c064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assured/client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func TestClientBadRequestFailure(t *testing.T) {
269269
err = client.ClearAll()
270270

271271
require.Error(t, err)
272-
require.Equal(t, `Delete http://localhost:-1/clear: invalid URL port "-1"`, err.Error())
272+
require.Equal(t, `parse http://localhost:-1/clear: invalid port ":-1" after host`, err.Error())
273273
}
274274

275275
func TestClientVerifyHttpClientFailure(t *testing.T) {

0 commit comments

Comments
 (0)