JoliTypo\Tests\FrenchTest::testNumericDoesNotBreakOtherFixers PHP Method

testNumericDoesNotBreakOtherFixers() public method

See also: https://github.com/jolicode/JoliTypo/issues/15
    public function testNumericDoesNotBreakOtherFixers()
    {
        $fixer = new Fixer($this->fr_fixers);
        $fixer->setLocale('fr');
        $this->assertInstanceOf('JoliTypo\\Fixer', $fixer);
        $fixed = <<<HTML
2&nbsp;&times;&nbsp;5&nbsp;doit &ecirc;tre corrig&eacute;, et 2&nbsp;h aussi.
HTML;
        $to_fix = <<<HTML
2 x 5 doit être corrigé, et 2 h aussi.
HTML;
        $this->assertEquals($fixed, $fixer->fix($to_fix));
    }