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:
parent
5b470546fd
commit
0b4142715c
@ -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="" />
|
||||||
|
|
||||||
|
@ -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")
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user