From 01b1d2b9dc062ab004f096ffb6fcb175f28d95aa Mon Sep 17 00:00:00 2001 From: adamw Date: Sat, 25 Nov 2017 11:10:31 +0100 Subject: ipv4 tests --- core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core') diff --git a/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala b/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala index e35a9d6..1d6f838 100644 --- a/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala +++ b/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala @@ -56,6 +56,10 @@ class UriInterpolatorTests extends FunSuite with Matchers { "authority with parameters" -> List( (uri"http://$v1.com?x=$v2", s"http://$v1.com?x=$v2queryEncoded") ), + "ipv4" -> List( + (uri"http://192.168.1.2/x", s"http://192.168.1.2/x"), + (uri"http://${"192.168.1.2"}/x", s"http://192.168.1.2/x") + ), "ports" -> List( (uri"http://example.com:8080", s"http://example.com:8080"), (uri"http://example.com:${8080}", s"http://example.com:8080"), -- cgit v1.2.3