Skip to content

Commit 1b90c60

Browse files
committed
minor #52284 [Validator] fix tests on AppVeyor (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Validator] fix tests on AppVeyor | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 8a49b3311c fix tests on AppVeyor
2 parents 065934a + ae27b4f commit 1b90c60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Constraints/FileTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public static function provideValidSizes()
103103
['1GI', 1073741824, true],
104104
['2g', 2000000000, false],
105105
['2G', 2000000000, false],
106-
['4g', 4 === \PHP_INT_SIZE ? '4000000000' : 4000000000, false],
107-
['4G', 4 === \PHP_INT_SIZE ? '4000000000' : 4000000000, false],
106+
['4g', 4 === \PHP_INT_SIZE ? 4000000000.0 : 4000000000, false],
107+
['4G', 4 === \PHP_INT_SIZE ? 4000000000.0 : 4000000000, false],
108108
];
109109
}
110110

0 commit comments

Comments
 (0)