From 08dd8ea1b55e62925aeee72de5d63a1e1961b060 Mon Sep 17 00:00:00 2001 From: adamw Date: Sun, 9 Jul 2017 09:10:06 +0200 Subject: More tests --- tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 57bb6af..8ad8aea 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala @@ -13,7 +13,9 @@ class UriInterpolatorTests extends FlatSpec with Matchers { (uri"http://example.com", "http://example.com"), (uri"http://example.com?x=y", "http://example.com?x=y"), (uri"http://example.com?x=$v1", s"http://example.com?x=$v1"), - (uri"http://example.com?x=$v2", s"http://example.com?x=$v2encoded") + (uri"http://example.com?x=$v2", s"http://example.com?x=$v2encoded"), + (uri"http://$v1.com", s"http://$v1.com"), + (uri"http://$v1.com?x=$v2", s"http://$v1.com?x=$v2encoded") ) for (((interpolated, expected), i) <- testData.zipWithIndex) { -- cgit v1.2.3