projects
/
catagits/Catalyst-Devel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b7ae88e
)
Return true from the tests so that I can require them
Tomas Doran [Fri, 27 Nov 2009 01:16:43 +0000 (
01:16
+0000)]
share/t/01app.t.tt
patch
|
blob
|
blame
|
history
share/t/02pod.t.tt
patch
|
blob
|
blame
|
history
share/t/03podcoverage.t.tt
patch
|
blob
|
blame
|
history
share/t/comptest.tt
patch
|
blob
|
blame
|
history
diff --git
a/share/t/01app.t.tt
b/share/t/01app.t.tt
index
d0f43dd
..
7a14cbb
100644
(file)
--- a/
share/t/01app.t.tt
+++ b/
share/t/01app.t.tt
@@
-8,3
+8,4
@@
BEGIN { use_ok 'Catalyst::Test', '[% name %]' }
ok( request('/')->is_success, 'Request should succeed' );
done_testing();
+1;
diff --git
a/share/t/02pod.t.tt
b/share/t/02pod.t.tt
index
64fabdd
..
36a814f
100644
(file)
--- a/
share/t/02pod.t.tt
+++ b/
share/t/02pod.t.tt
@@
-8,3
+8,4
@@
plan skip_all => 'Test::Pod 1.14 required' if $@;
plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
all_pod_files_ok();
+1;
diff --git
a/share/t/03podcoverage.t.tt
b/share/t/03podcoverage.t.tt
index
38147ef
..
37ab26e
100644
(file)
--- a/
share/t/03podcoverage.t.tt
+++ b/
share/t/03podcoverage.t.tt
@@
-8,3
+8,4
@@
plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
all_pod_coverage_ok();
+1;
diff --git
a/share/t/comptest.tt
b/share/t/comptest.tt
index
533a5ff
..
00800f8
100644
(file)
--- a/
share/t/comptest.tt
+++ b/
share/t/comptest.tt
@@
-24,3
+24,4
@@
BEGIN { use_ok '[% class %]' }
[% END %]
done_testing();
+1;