aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-09 09:10:06 +0200
committeradamw <adam@warski.org>2017-07-09 09:10:06 +0200
commit08dd8ea1b55e62925aeee72de5d63a1e1961b060 (patch)
tree9483984f838d5af75cc7b30ef37c8458d5a2b221
parent0863a2af75583b976aee3171585685b2524d0874 (diff)
downloadsttp-08dd8ea1b55e62925aeee72de5d63a1e1961b060.tar.gz
sttp-08dd8ea1b55e62925aeee72de5d63a1e1961b060.tar.bz2
sttp-08dd8ea1b55e62925aeee72de5d63a1e1961b060.zip
More tests
-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) {