diff options
author | adamw <adam@warski.org> | 2017-08-02 14:27:09 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-08-02 14:27:09 +0200 |
commit | 90615deb20ce43f09371b10a25628be8d68485d8 (patch) | |
tree | 7aaf99767fa9ec544fe6569557972d46f12b32f7 | |
parent | 9220ea0bd8bb1aede0b35f8d481d1a0bf0ec87da (diff) | |
download | sttp-90615deb20ce43f09371b10a25628be8d68485d8.tar.gz sttp-90615deb20ce43f09371b10a25628be8d68485d8.tar.bz2 sttp-90615deb20ce43f09371b10a25628be8d68485d8.zip |
uri-in-uri test
-rw-r--r-- | core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala b/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala index 4424d70..e9554df 100644 --- a/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala +++ b/core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala @@ -117,7 +117,9 @@ class UriInterpolatorTests extends FunSuite with Matchers { s"http://$v1.$v2encoded.com/$v1/$v2encoded?$v1=$v2queryEncoded&$v3encoded=$v4encoded#$v1") ), "embed whole url" -> List( - (uri"${"http://example.com:123/a"}/b/c", "http://example.com:123/a/b/c") + (uri"${"http://example.com:123/a"}/b/c", "http://example.com:123/a/b/c"), + (uri"${uri"http://example.com/$v1?p=$v2"}", + s"http://example.com/$v1?p=$v2queryEncoded") ) ) |