Function toAgentFailure
Describes a failed test with its location, its failure and the filter that runs it again
Example
toAgentFailure returns the name, both locations, the message and an exact "=" rerun filter
auto test = new TestResult(`returns "404"`);
test .fileName = "tests/api.d";
test .line = 30;
test .throwable = new Exception("Expected: 404", "tests/api.d", 42);
toAgentFailure("ogm.maps", test) .should .equal(
"FAIL ogm.maps returns \"404\"\n" ~
" test: tests/api.d:30\n" ~
" at: tests/api.d:42\n" ~
" Expected: 404\n" ~
" rerun: -f \"=ogm.maps returns \\\"404\\\"\"");