com php-src: Fix microtime() test: ext/date/tests/microtime_e rror.phpt
| From: | Máté Kocsis | Date: | Mon, 27 Jul 2020 11:14:21 +0000 |
| Subject: | com php-src: Fix microtime() test: ext/date/tests/microtime_e rror.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112373@lists.php.net to get a copy of this message | ||
Commit: f62ec5cf6c2fe0150ac6972d56d772ff0dd94e57
Author: Máté Kocsis <kocsismate@woohoolabs.com> Mon, 27 Jul 2020 13:14:21 +0200
Parents: cdc8523300a4e3635cdc6aaed0b807e72ebdcfc8
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f62ec5cf6c2fe0150ac6972d56d772ff0dd94e57
Log:
Fix microtime() test
Changed paths:
M ext/date/tests/microtime_error.phpt
Diff:
diff --git a/ext/date/tests/microtime_error.phpt b/ext/date/tests/microtime_error.phpt
index 285157da48..32cc64bb9d 100644
--- a/ext/date/tests/microtime_error.phpt
+++ b/ext/date/tests/microtime_error.phpt
@@ -46,11 +46,11 @@ float(%s)
int(0)
}
}
-microtime(): Argument #1 ($get_as_float) must be of type bool, array given
+microtime(): Argument #1 ($getAsFloat) must be of type bool, array given
--> bad arg: object(stdClass)#%d (0) {
}
-microtime(): Argument #1 ($get_as_float) must be of type bool, stdClass given
+microtime(): Argument #1 ($getAsFloat) must be of type bool, stdClass given
--> bad arg: int(1)
float(%s)