diff options
author | adamw <adam@warski.org> | 2017-08-02 14:02:13 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-08-02 14:02:13 +0200 |
commit | 4fd5b1570c006a7ad5e022cadb9f41decf51d866 (patch) | |
tree | dc1b2fc77e622ca14b8278e54d4a3ad73aaeb71c /core/src/test | |
parent | e96f63034fbc0bb2c41550ddf7b37ed5ba6b89b2 (diff) | |
download | sttp-4fd5b1570c006a7ad5e022cadb9f41decf51d866.tar.gz sttp-4fd5b1570c006a7ad5e022cadb9f41decf51d866.tar.bz2 sttp-4fd5b1570c006a7ad5e022cadb9f41decf51d866.zip |
Special encoding for fragment
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/scala/com/softwaremill/sttp/UriTests.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/test/scala/com/softwaremill/sttp/UriTests.scala b/core/src/test/scala/com/softwaremill/sttp/UriTests.scala index 26e7936..fb55468 100644 --- a/core/src/test/scala/com/softwaremill/sttp/UriTests.scala +++ b/core/src/test/scala/com/softwaremill/sttp/UriTests.scala @@ -39,7 +39,9 @@ class UriTests extends FunSuite with Matchers { Nil, Nil, None) -> - "http://us%26er:pa%20ss@example.com" + "http://us%26er:pa%20ss@example.com", + Uri("http", None, "example.com", None, Nil, Nil, Some("f:g/h i")) -> + "http://example.com#f:g/h%20i", ) for { |