projects
/
catagits/Catalyst-Plugin-Static-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
85d1a5f
)
Forgot to add the TestLog class I created
Alastair McGowan-Douglas [Mon, 29 Sep 2014 08:14:09 +0000 (09:14 +0100)]
t/lib/TestLog.pm
[new file with mode: 0644]
patch
|
blob
diff --git a/t/lib/TestLog.pm
b/t/lib/TestLog.pm
new file mode 100644
(file)
index 0000000..
022f38a
--- /dev/null
+++ b/
t/lib/TestLog.pm
@@ -0,0
+1,12
@@
+package TestLog;
+use Moose;
+extends 'Catalyst::Log';
+
+our $logged;
+
+override warn => sub {
+ my $self = shift;
+ $logged = shift;
+};
+
+1;