Subject: | Test::Routine::Manual::Demo content missing |
Hey Ricardo,
Since v0.003 the Demo in T::R::Manual::Demo has disappeared. The change
that broke it is 45031a7, when the demo tests were moved into a new
directory. The following patch should fix it.
Thank you for writing this module, I'm excited to try it out!
Cheers,
Fitz Elliott
diff --git a/inc/BuildDemo.pm b/inc/BuildDemo.pm
index f406106..243f599 100644
--- a/inc/BuildDemo.pm
+++ b/inc/BuildDemo.pm
@@ -11,7 +11,7 @@ sub munge_file {
my ($self, $file) = @_;
return unless $file->name eq 'lib/Test/Routine/Manual/Demo.pm';
- my @demo_files = sort <t/??-*.t>;
+ my @demo_files = sort <t/demo/??-*.t>;
my $demo_text = '';
for my $demo_file (@demo_files) {