We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6cb5c commit 2f73d85Copy full SHA for 2f73d85
tests/Assert/Tests/AssertTest.php
@@ -2011,6 +2011,9 @@ public function providerValidBetweenExclusive(): array
2011
2012
public function testStringifyTruncatesStringValuesLongerThan100CharactersAppropriately()
2013
{
2014
+ $this->expectException('Assert\AssertionFailedException');
2015
+ $this->expectExceptionCode(\Assert\Assertion::INVALID_FLOAT);
2016
+
2017
$string = str_repeat('1234567890', 11);
2018
2019
$this->assertTrue(Assertion::float($string));
0 commit comments