aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala4
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")
)
)