From 0b4142715cc84ab5a63cdc766379ef8506c3bc49 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 30 Mar 2019 23:07:43 -0400 Subject: Update changelog and add fbclid test --- app/src/main/res/xml/frost_changelog.xml | 2 +- app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt | 7 +++++++ docs/Changelog.md | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 51a872ec..b535b43c 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -9,7 +9,7 @@ - + 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 e2a6f4ae..ca842ed9 100644 --- a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt +++ b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt @@ -83,6 +83,13 @@ class FbUrlTest { assertFbFormat(formattedUrl, url) } + @Test + fun fbclidNonFacebook() { + val url = "https://www.google.ca?foo&fbclid=abc&bar=bbb" + val formattedUrl = "https://www.google.ca?foo&bar=bbb" + assertFbFormat(formattedUrl, url) + } + @Test fun doubleDash() { assertFbFormat("${FB_URL_BASE}relative", "$FB_URL_BASE/relative") diff --git a/docs/Changelog.md b/docs/Changelog.md index 4d90b7fb..f81b2d20 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -3,6 +3,7 @@ ## v2.2.3 * Add ability to hide stories * Remove fbclid from urls +* Apply notification keyword filter to title as well ## v2.2.2 * New marketplace shortcut -- cgit v1.2.3