mediawiki-extensions-AbuseF.../tests/parserTests/concatenation.t
Daimona Eaytoy 447d434e2a Improve code coverage
Add some parser tests, improve existing ones, and add missing @covers.

Bug: T201193
Change-Id: I9c0d2d83560baa4a3e1d4465b7919a48c4e26ac1
2018-08-22 19:07:14 +02:00

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'