projects
/
mafia.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reindent code, tests, Makefile.PL
[mafia.git]
/
t
/
examples.t
diff --git
a/t/examples.t
b/t/examples.t
index b97b8e7b31a53cb1e98ced8be49daa8415e42a17..60f00fb2fba8ca15395a0610de813282f456107f 100644
(file)
--- a/
t/examples.t
+++ b/
t/examples.t
@@
-8,12
+8,12
@@
BEGIN { @examples = map { s/\.pl//r } glob 't/examples/*.pl' };
use Test::More tests => scalar @examples;
for my $example (@examples) {
use Test::More tests => scalar @examples;
for my $example (@examples) {
- my $out;
- close STDOUT;
- open STDOUT, '>', \$out;
- clean;
+
my $out;
+
close STDOUT;
+
open STDOUT, '>', \$out;
+
clean;
- my $ok = read_file "$example.out";
- eval scalar read_file "$example.pl";
- is $out, $ok, scalar fileparse $example
+
my $ok = read_file "$example.out";
+
eval scalar read_file "$example.pl";
+
is $out, $ok, scalar fileparse $example
}
}
This page took
0.010769 seconds
and
4
git commands to generate.