Subject: | Unescaped parens in test |
I suspect that one of the tests doesn't match the anticipated string:
qr{...()}
vs
qr{...\(\)}
Patch attached.
Subject: | stacktrace.patch |
diff -Naur t/04trace.t t-patched/04trace.t
--- t/04trace.t 2009-05-08 19:22:56.000000000 +0100
+++ t-patched/04trace.t 2009-05-08 19:23:33.000000000 +0100
@@ -24,7 +24,7 @@
like( $res->content, qr{Caught exception.+TestApp::Controller::Foo::three}, 'error ok' );
like( $res->content, qr{Stack Trace}, 'trace ok' );
like( $res->content, qr{<td>30</td>}, 'line number ok' );
- like( $res->content, qr{<strong class="line"> 30: three()}, 'context ok' );
+ like( $res->content, qr{<strong class="line"> 30: three\(\);}, 'context ok' );
}
TestApp->config->{stacktrace}{enable} = 0;