diff options
author | adamw <adam@warski.org> | 2017-11-25 11:10:31 +0100 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-11-25 11:10:31 +0100 |
commit | 01b1d2b9dc062ab004f096ffb6fcb175f28d95aa (patch) | |
tree | 5c921329e21535e5e0bc0f30d2bc7bf57c036ac9 /core | |
parent | 2db11d0cdcc2e6bc0ad2fd321d9c15693ee71876 (diff) | |
download | sttp-01b1d2b9dc062ab004f096ffb6fcb175f28d95aa.tar.gz sttp-01b1d2b9dc062ab004f096ffb6fcb175f28d95aa.tar.bz2 sttp-01b1d2b9dc062ab004f096ffb6fcb175f28d95aa.zip |
ipv4 tests
Diffstat (limited to 'core')
-rw-r--r-- | core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 4 |
1 files changed, 4 insertions, 0 deletions
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"), |