From 2e8f6d8b221f32e5df7663d296317886a43b1cf0 Mon Sep 17 00:00:00 2001 From: adamw Date: Sun, 9 Jul 2017 16:50:22 +0200 Subject: More tests --- tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/src/test/scala') 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") -- cgit v1.2.3