[Bridge/PhpUnit] Remove trailing "\n" from ClockMock::microtime(false)

This commit is contained in:
Guillaume Aveline 2017-11-21 09:21:36 +01:00 committed by Nicolas Grekas
parent c23adaec43
commit 5ddb121723

View File

@ -66,7 +66,7 @@ class ClockMock
return self::$now;
}
return sprintf("%0.6f %d\n", self::$now - (int) self::$now, (int) self::$now);
return sprintf('%0.6f %d', self::$now - (int) self::$now, (int) self::$now);
}
public static function register($class)