5fd1e1abe0ef9e7c810a9c72fbb9104461c4e331 added CoreParserFunctionsTest::testGender
$msg = ( new RawMessage( '{{GENDER:*Female|m|f|o}}' ) )->parse(); $this->assertEquals( $msg, 'f', 'Works unescaped' ); $escapedName = wfEscapeWikiText( '*Female' ); $msg2 = ( new RawMessage( '{{GENDER:' . $escapedName . '|m|f|o}}' ) ) ->parse(); $this->assertEquals( $msg, 'f', 'Works escaped' );
Shouldn't the second assertEquals be using $msg2? Otherwise, what is the point of it...