diff --git a/tests/data/test1322 b/tests/data/test1322
index bf10a8d0b8..974989517b 100644
--- a/tests/data/test1322
+++ b/tests/data/test1322
@@ -37,7 +37,7 @@ http
HTTP with --resolve and hostname with trailing dot
---resolve example.com:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/1322
+--ipv4 --resolve example.com.:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/1322
diff --git a/tests/data/test20 b/tests/data/test20
index 57fa48dea9..910cb54c20 100644
--- a/tests/data/test20
+++ b/tests/data/test20
@@ -25,7 +25,7 @@ http
attempt connect to non-existing host name
-non-existing-host.haxx.se.
+--ipv4 non-existing-host.haxx.se.