developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#1115 closed bug (fixed)

tests on jdbtools fail with some php version

Reported by: laurentj Owned by:
Priority: high Milestone: Jelix 1.2 beta
Component: jelix:db Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version: 5.3.2

Description

It seems that php 5.3 support a better precision on numbers

Fail: /home/laurent/projets/jelix/tests/trunk/testapp/modules/jelix_tests/tests/jdbtools.html_cli.php -> UTjDbTools -> testEscapeValue -> Equal expectation fails at character 12 with [98084345.6377] and [98084345.637655] at [/home/laurent/projets/jelix/tests/trunk/testapp/modules/jelix_tests/tests/jdbtools.html_cli.php line 150]
@@ -1 +1 @@
-98084345.6377
+98084345.637655

Change History (1)

comment:1 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from tests on jdbtools fail with php 5.3 to tests on jdbtools fail with some php version

fixed http://bitbucket.org/jelix/jelix-trunk/changeset/fba25b372e5e

the issue appears also on some older version of php (5.2.x), and do not appear on some PHP 5.3 version. The difference probably depends to the platform or how php was compiled...

Note: See TracTickets for help on using tickets.