diff options
| author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-09-16 14:16:42 -0300 |
|---|---|---|
| committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-10-14 12:07:20 -0300 |
| commit | 9c144e0d8217d1ef7a83c2498214308b21af749f (patch) | |
| tree | d977ba0d8601de477c52f62accf02c120ef06253 /ext/intl/tests/dateformat_format_variant2.phpt | |
| parent | b419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff) | |
| download | php-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz | |
Trim trailing whitespace in tests
Diffstat (limited to 'ext/intl/tests/dateformat_format_variant2.phpt')
| -rw-r--r-- | ext/intl/tests/dateformat_format_variant2.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/tests/dateformat_format_variant2.phpt b/ext/intl/tests/dateformat_format_variant2.phpt index 4e4cf7c02d..d61b20b03a 100644 --- a/ext/intl/tests/dateformat_format_variant2.phpt +++ b/ext/intl/tests/dateformat_format_variant2.phpt @@ -20,7 +20,7 @@ function ut_main() $locale_arr = array ( 'en_US' ); - + $datetype_arr = array ( IntlDateFormatter::FULL, IntlDateFormatter::LONG, @@ -73,12 +73,12 @@ function ut_main() $localtime_arr2, $localtime_arr3 ); - + $d1 = new DateTime("2010-01-01 01:02:03", new DateTimeZone("UTC")); $d2 = new DateTime("2000-12-31 03:04:05", new DateTimeZone("UTC")); $d2->setTimezone(new DateTimeZone("PDT")); $dates = array( - $d1, + $d1, $d2, new StdClass(), ); @@ -129,7 +129,7 @@ function ut_main() $res_str .= "\n------------"; $res_str .= "\nDate is: ".var_export($date_entry, true); $res_str .= "\n------------"; - + $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFormatter::GREGORIAN ); $formatted1 = ut_datefmt_format( $fmt , $date_entry); if( intl_get_error_code() == U_ZERO_ERROR){ |
