Browse Source

Fixed HHVM tests compatibility. Try 2

tags/3.0.0-alpha1
SilverFire - Dmitry Naumenko 8 years ago
parent
commit
511784631b
  1. 2
      tests/framework/helpers/FormatConverterTest.php

2
tests/framework/helpers/FormatConverterTest.php

@ -83,7 +83,7 @@ class FormatConverterTest extends TestCase
$pattern = $fmt->getPattern();
if (defined('HHVM_VERSION') && $name === 'short') {
if (defined('HHVM_VERSION') && $format === 'short') {
$pattern = str_replace(',', ' ', $pattern); // Remove comma between date and time ('M/d/yy, h:mm a')
}

Loading…
Cancel
Save