Skip to content

Commit

Permalink
Set both precision settings in decode_integer_test
Browse files Browse the repository at this point in the history
Ensure consistent test output across installation ini configurations
and php versions.
  • Loading branch information
TysonAndre committed Sep 28, 2022
1 parent 212bf54 commit d9f20fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/decode_integer_overflow.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ simdjson_decode throws for integer syntax out of signed/unsigned 64-bit range du
--SKIPIF--
<?php if (PHP_INT_SIZE < 8) echo "skip 64-bit test only\n"; ?>
--INI--
; in php 8.0 var_dump started using serialize_precision instead of precision
serialize_precision=20
precision=20
--FILE--
<?php
// https://github.com/simdjson/simdjson/blob/master/doc/basics.md#standard-compliance
Expand Down

0 comments on commit d9f20fe

Please sign in to comment.