mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
a31f4e46af
Bug: T248806 Change-Id: I039ab7f103bb37052987b815412b71f70643a6d2
14 lines
595 B
Perl
14 lines
595 B
Perl
equals_to_any( "foo", "bar", "foo", "pizza" ) &
|
|
equals_to_any( 15, 3, 77, 18, 15 ) &
|
|
equals_to_any( "", 3, 77, 18, 15, "duh" ) === false &
|
|
equals_to_any( "", 3, 77, 18, 15, "duh", "" ) &
|
|
equals_to_any( true, 1, "true" ) === false &
|
|
equals_to_any( "1", 1, [ 1 ], true ) === false &
|
|
equals_to_any( [ 1, "1" ], 1, "1" ) === false &
|
|
equals_to_any( [ 1, 2, 3 ], [ 1, 2, 3 ] ) &
|
|
equals_to_any( [ 1, 2, 3 ], [ 3, 2, 1 ] ) === false &
|
|
equals_to_any( [ "foo", "bar" ], [ ] ) === false &
|
|
equals_to_any( [ "foo", "bar" ], [ "foo", "bar" ] ) &
|
|
equals_to_any( [], [] ) &
|
|
equals_to_any( [ 0 ], [] ) === false
|