mediawiki-extensions-AbuseF.../tests/parserTests/vars.t
Marius Hoch 35747761fb Allow running the AbuseFilter parser tests via phpunit
I've also added myself to the credits file as I'm the only
maintainer of this extension for a while now.

Change-Id: Id998172ea2abd70b8243de9db1a96cc2cfa47a64
2013-07-08 19:22:43 +02:00

5 lines
146 B
Perl

/* Variables test */
test_var1 := test_var2 := "aa";
set( 'ResulT', set_var( 'TV3', "bb" ) );
str_replace( test_var1, test_var2, tv3 ) == result;