diff --git a/tests/data/test1188 b/tests/data/test1188
index d2e741e4d..8912b391a 100644
--- a/tests/data/test1188
+++ b/tests/data/test1188
@@ -27,7 +27,7 @@ http
--write-out with %{onerror} and %{urlnum} to stderr
-http://%HOSTIP:%NOLISTENPORT/we/want/our/1188 http://%HOSTIP:%HTTPPORT/we/want/our/1188 -w '%{onerror}%{stderr}%{urlnum} says %{exitcode} %{errormsg}\n' -s
+http://non-existing-host.haxx.se:%NOLISTENPORT/we/want/our/1188 http://%HOSTIP:%HTTPPORT/we/want/our/1188 -w '%{onerror}%{stderr}%{urlnum} says %{exitcode} %{errormsg}\n' -s
@@ -41,7 +41,7 @@ Accept: */*
-0 says 7 Failed to connect to %HOSTIP port %NOLISTENPORT: Connection refused
+0 says 6 Could not resolve host: non-existing-host.haxx.se