This website requires JavaScript.
Explore
Help
Register
Sign In
wikimedia
/
mediawiki-extensions-AbuseFilter
Watch
1
Star
0
Fork
You've already forked mediawiki-extensions-AbuseFilter
0
mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced
2024-11-26 15:00:07 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
50ae561641
mediawiki-extensions-AbuseF...
/
tests
/
parserTests
/
rcount.t
4 lines
53 B
Perl
Raw
Normal View
History
Unescape
Escape
Use triple equals in abuse filter parser tests The only exception is mwexamples-comparisons.t which intentionally includes examples with = and == to test the "weak" version of the comparison operator. Bug: T262063 Change-Id: I6f92aadc69489da481a606bfda89617b8efbb261
2020-09-04 17:07:53 +00:00
rcount
(
"a,b,c,d"
)
===
4
&
rcount
(
"."
,
"abcd"
)
===
4
Improve code coverage for AbuseFilterParser Add some tests and improve others to raise coverage percentage. This should lead to almost 100% for the AbuseFilterParser class. Aside from this, a couple of changes: * Remove an unused function * Let equals_to_any return a genuine result with empty strings * Remove an if which will never be true in skipOverBraces, since the function is called after checking the same conditions. Bug: T201193 Change-Id: I7020b2ed996236c38c5784d161ad98ec44163406
2018-08-20 11:06:32 +00:00
Reference in a new issue
Copy permalink