projects
/
app-lastmsg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8323ba8
)
Fix test
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 31 Dec 2016 20:57:28 +0000
(22:57 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 31 Dec 2016 20:57:28 +0000
(22:57 +0200)
t/App-Lastmsg.t
patch
|
blob
|
blame
|
history
diff --git
a/t/App-Lastmsg.t
b/t/App-Lastmsg.t
index a5eca2977adcb7482101671212b9908319279380..2439d3f1997e270331a71cce01ab374592ec380a 100644
(file)
--- a/
t/App-Lastmsg.t
+++ b/
t/App-Lastmsg.t
@@
-9,7
+9,7
@@
my $real_strftime = \&POSIX::strftime;
{
no warnings 'redefine';
- *
POSIX
::strftime = sub {
+ *
App::Lastmsg
::strftime = sub {
my ($format, @rest) = @_;
$real_strftime->('%s', @rest)
};
@@
-23,7
+23,7
@@
$0 = 'lastmsg';
App::Lastmsg::run;
is $out, <<'EOF', 'output is correct';
-user2 user2@example.org
Sat 31 Dec 2016 13:10:00 EET
-user1 user1@example.com
Fri 30 Dec 2016 15:44:00 EET
+user2 user2@example.org
1483182600
+user1 user1@example.com
1483105440
user3 NOT FOUND
EOF
This page took
0.011222 seconds
and
4
git commands to generate.