Non-verbose output should search for filename, not class name
fredemmott opened this issue · 0 comments
fredemmott commented
For example:
1) Facebook\FBExpect\ExpectObjTest::testDifferingStringOutput
Haystack must be an array, traversable or string
/Users/fredemmott/code/fbexpect/vendor/hhvm/hacktest/src/Framework/HackTestCase.php(84): Facebook\FBExpect\ExpectObjTest->testDifferingStringOutput()
This is not useful; it's reporting this line as it's the first that includes the full class name - which includes the namespace.
This line is much more useful:
/Users/fredemmott/code/fbexpect/tests/ExpectObjTest.php(389): Facebook\FBExpect\ExpectObj->toContain()