Eris\ExampleEnd2EndTest::testStringShrinkingTests PHP Method

testStringShrinkingTests() public method

    public function testStringShrinkingTests()
    {
        $this->runExample('StringTest.php');
        $this->assertTestsAreFailing(1);
        $errorMessage = (string) $this->theTest('testLengthPreservation')->failure;
        $this->assertRegExp("/Concatenating '' to '.{6}' gives '.{6}ERROR'/", $errorMessage, "It seems there is a problem with shrinking: we were expecting a minimal error message but instead the one for StringTest::testLengthPreservation() didn't match");
    }