aboutsummaryrefslogtreecommitdiff
path: root/tests/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test')
-rw-r--r--tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala4
1 files changed, 3 insertions, 1 deletions
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) {