[Yaml] Fix tests on PHP 7.0.2

This commit is contained in:
Nicolas Grekas 2016-01-13 09:54:41 +01:00
parent 36eb8188ca
commit 902f6ddb93
2 changed files with 4 additions and 4 deletions

View File

@ -515,7 +515,7 @@ yaml: |
php: |
array(
'canonical' => 12345,
'decimal' => 12345,
'decimal' => 12345.0,
'octal' => 014,
'hexadecimal' => 0xC
)
@ -1536,7 +1536,7 @@ yaml: |
php: |
array(
'canonical' => 12345,
'decimal' => 12345,
'decimal' => 12345.0,
'octal' => 12,
'hexadecimal' => 12
)

View File

@ -182,8 +182,8 @@ php: |
array(
'zero' => 0,
'simple' => 12,
'one-thousand' => 1000,
'negative one-thousand' => -1000
'one-thousand' => 1000.0,
'negative one-thousand' => -1000.0
)
---
test: Integers as Map Keys