mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 06:26:03 +00:00
447d434e2a
Add some parser tests, improve existing ones, and add missing @covers. Bug: T201193 Change-Id: I9c0d2d83560baa4a3e1d4465b7919a48c4e26ac1
8 lines
218 B
Perl
8 lines
218 B
Perl
'foo' + 'bar' === 'foobar' &
|
|
'' + 'foo' + '' === 'foo' &
|
|
'foo' + ' ' + 'bar' === 'foo bar' &
|
|
'foo' + 234 === 'foo234' &
|
|
452 + 'foo' === '452foo' &
|
|
'foo' + false === 'foo' &
|
|
'foo' + [ 'bar', 'foo' ] === 'foobar\nfoo\n'
|