Skip Menu |

This queue is for tickets about the Test-Inline CPAN distribution.

Report information
The Basics
Id: 83094
Status: new
Priority: 0/
Queue: Test-Inline

People
Owner: Nobody in particular
Requestors: maurice [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: unknown method 'file'
When calling add_class() on Test::Inline object, was receiving an unknown method 'file' exception. Looks like it should be calling class_file() rather than file() on the input handler object. Patch attached.
Subject: inline.patch
--- /tmp/Inline.pm.orig 2013-02-01 10:00:23.096605118 -0800 +++ Inline.pm 2013-02-01 10:00:36.912673608 -0800 @@ -418,7 +418,7 @@ $self->_verbose("Checking $name\n"); my $files = $options{recursive} ? $self->InputHandler->find( $name ) - : $self->InputHandler->file( $name ); + : $self->InputHandler->class_file( $name ); return $files unless $files; # 0 or undef # Add the files