1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-26 20:04:48 +01:00

Fix two tests which would fail on x64

This commit is contained in:
nikic 2012-06-08 18:09:42 +02:00
parent 35ec185558
commit 44ed30957f
2 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ class PHPParser_Tests_Lexer_EmulativeTest extends PHPUnit_Framework_TestCase
array('0b1010110', array(
array(PHPParser_Parser::T_LNUMBER, '0b1010110'),
)),
array('0b10110101010010101101010100101010110101010101011010110', array(
array(PHPParser_Parser::T_DNUMBER, '0b10110101010010101101010100101010110101010101011010110'),
array('0b1011010101001010110101010010101011010101010101101011001110111100', array(
array(PHPParser_Parser::T_DNUMBER, '0b1011010101001010110101010010101011010101010101101011001110111100'),
)),
array('\\', array(
array(PHPParser_Parser::T_NS_SEPARATOR, '\\'),

View File

@ -21,10 +21,10 @@ array(
value: 1
)
2: Scalar_LNumber(
value: 2147483647
value: @@{ PHP_INT_MAX }@@
)
3: Scalar_DNumber(
value: 2147483648
value: @@{ PHP_INT_MAX + 1 }@@
)
4: Scalar_LNumber(
value: 4095