1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-12 14:03:00 +01:00

Update changelog and add fbclid test

This commit is contained in:
Allan Wang 2019-03-30 23:07:43 -04:00
parent 5b470546fd
commit 0b4142715c
No known key found for this signature in database
GPG Key ID: C93E3F9C679D7A56
3 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<version title="v2.2.3" /> <version title="v2.2.3" />
<item text="Add ability to hide stories" /> <item text="Add ability to hide stories" />
<item text="Remove fbclid from urls" /> <item text="Remove fbclid from urls" />
<item text="" /> <item text="Apply notification keyword filter to title as well" />
<item text="" /> <item text="" />
<item text="" /> <item text="" />

View File

@ -83,6 +83,13 @@ class FbUrlTest {
assertFbFormat(formattedUrl, url) 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 @Test
fun doubleDash() { fun doubleDash() {
assertFbFormat("${FB_URL_BASE}relative", "$FB_URL_BASE/relative") assertFbFormat("${FB_URL_BASE}relative", "$FB_URL_BASE/relative")

View File

@ -3,6 +3,7 @@
## v2.2.3 ## v2.2.3
* Add ability to hide stories * Add ability to hide stories
* Remove fbclid from urls * Remove fbclid from urls
* Apply notification keyword filter to title as well
## v2.2.2 ## v2.2.2
* New marketplace shortcut * New marketplace shortcut