diff options
Diffstat (limited to 'tests/src/test/scala/com')
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala b/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala index f0eeb1e..4a71163 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala @@ -29,7 +29,10 @@ class UriInterpolatorTests extends FunSuite with Matchers { (uri"http://$v1.com", s"http://$v1.com"), (uri"http://$v2.com", s"http://$v2hostEncoded.com"), (uri"http://$None.example.com", s"http://example.com"), + (uri"http://$None.$None.example.com", s"http://example.com"), (uri"http://${Some("sub")}.example.com", s"http://sub.example.com"), + (uri"http://${Some("sub1.sub2")}.example.com", + s"http://sub1.sub2.example.com"), (uri"http://${List("sub1", "sub2")}.example.com", s"http://sub1.sub2.example.com"), (uri"http://${List("sub", "example", "com")}", s"http://sub.example.com") |