diff options
author | adamw <adam@warski.org> | 2017-07-09 09:10:06 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-09 09:10:06 +0200 |
commit | 08dd8ea1b55e62925aeee72de5d63a1e1961b060 (patch) | |
tree | 9483984f838d5af75cc7b30ef37c8458d5a2b221 /tests/src/test/scala/com | |
parent | 0863a2af75583b976aee3171585685b2524d0874 (diff) | |
download | sttp-08dd8ea1b55e62925aeee72de5d63a1e1961b060.tar.gz sttp-08dd8ea1b55e62925aeee72de5d63a1e1961b060.tar.bz2 sttp-08dd8ea1b55e62925aeee72de5d63a1e1961b060.zip |
More tests
Diffstat (limited to 'tests/src/test/scala/com')
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 4 |
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) { |