r50369 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50368‎ | r50369 | r50370 >
Date:14:19, 9 May 2009
Author:ialex
Status:deferred
Tags:
Comment:
float -> double for the "Time (type)" test according to the PHP manual
Modified paths:
  • /trunk/phase3/t/inc/Global.t (modified) (history)

Diff [purge]

Index: trunk/phase3/t/inc/Global.t
@@ -46,7 +46,7 @@
4747 "=?UTF-8?Q?=C4=88u=20legebla=3F?=", 'Quoted printable' );
4848
4949 $start = wfTime();
50 -is( gettype( $start ), 'float', 'Time (type)' );
 50+is( gettype( $start ), 'double', 'Time (type)' );
5151 $end = wfTime();
5252 cmp_ok( $end, '>', $start, 'Time (compare)' );
5353

Status & tagging log