From 952d4e41efc21f1276e8b03892e1e8079a727a1b Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 24 Sep 2017 17:53:07 -0400 Subject: Feature/compact formatter (#337) * Make components private and thus jvm fields * Split converter and decoder * Update changelog * Only decode nonquery portions of links * Add comments and fix test --- app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/test/kotlin/com/pitchedapps/frost/facebook') 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) } -- cgit v1.2.3