You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPUnit 6.5.13 by Sebastian Bergmann and contributors.
.... 4 / 4 (100%)
Time: 142 ms, Memory: 8.00MB
OK (4 tests, 4 assertions)
Actual result:
PHPUnit 6.5.13 by Sebastian Bergmann and contributors.
...F 4 / 4 (100%)
Time: 142 ms, Memory: 8.00MB
There was 1 failure:
1) BugTest::testStringEndsNotWith
Failed asserting that 'zzz0E2' ends not with "0E1".
/z/BugTest.php:22
FAILURES!
Tests: 4, Assertions: 4, Failures: 1.
PHPUnit incorrectly agrees that the string "zzz0E2" ends with "0E1"
(while it correctly disagrees that the string "0E2zzz" starts with "0E1").
Test:
Expected result:
Actual result:
Cause:
StringEndsWith::matches()
(phpunit/src/Framework/Constraint/StringEndsWith.php
Line 42 in 6d8b244
==
but should use strict===
('0E2' == '0E1'
is true but not'0E2' === '0E1'
).The text was updated successfully, but these errors were encountered: