diff options
Diffstat (limited to 'tests/src/test/scala')
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala | 8 |
1 files changed, 7 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 d7719fd..df26f66 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/UriInterpolatorTests.scala @@ -88,7 +88,13 @@ class UriInterpolatorTests extends FunSuite with Matchers { (uri"http://example.com?x=y&${Map("a" -> None)}", s"http://example.com?x=y"), (uri"http://example.com?x=y&${Map("a" -> Some("b"))}", - s"http://example.com?x=y&a=b") + s"http://example.com?x=y&a=b"), + (uri"http://example.com?x=y&${Seq("a" -> None)}", + s"http://example.com?x=y") + ), + "fragments" -> List( + (uri"http://example.com#$v1", s"http://example.com#$v1"), + (uri"http://example.com#$None", s"http://example.com") ), "everything" -> List( (uri"${"http"}://$v1.$v2.com/$v1/$v2?$v1=$v2&$v3=$v4#$v1", |