aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin/com/pitchedapps/frost/facebook
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-09-24 17:53:07 -0400
committerGitHub <noreply@github.com>2017-09-24 17:53:07 -0400
commit952d4e41efc21f1276e8b03892e1e8079a727a1b (patch)
tree372d0bc65cb349fcd5ef529b871801b70e6dd96d /app/src/test/kotlin/com/pitchedapps/frost/facebook
parent38d7b144cdf96f7e079a38ace7f9ece25694592d (diff)
downloadfrost-952d4e41efc21f1276e8b03892e1e8079a727a1b.tar.gz
frost-952d4e41efc21f1276e8b03892e1e8079a727a1b.tar.bz2
frost-952d4e41efc21f1276e8b03892e1e8079a727a1b.zip
Feature/compact formatter (#337)v1.5.4
* Make components private and thus jvm fields * Split converter and decoder * Update changelog * Only decode nonquery portions of links * Add comments and fix test
Diffstat (limited to 'app/src/test/kotlin/com/pitchedapps/frost/facebook')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt
index bb6a8467..3a87a697 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt
@@ -45,8 +45,8 @@ class FbUrlTest {
@Test
fun css() {
- val expected = "https://test.com?efg=hi&oh=bye&oe=apple"
- val orig = "https\\3a //test.com?efg\\3d hi\\26 oh\\3d bye\\26 oe\\3d apple"
+ val expected = "https://test.com?efg=hi&oh=bye&oe=apple%3Fornot"
+ val orig = "https\\3a //test.com?efg=hi&oh=bye&oe=apple\\3F ornot"
assertFbFormat(expected, orig)
}