Skip Menu |
 

This queue is for tickets about the Text-Levenshtein-Damerau CPAN distribution.

Report information
The Basics
Id: 73696
Status: resolved
Priority: 0/
Queue: Text-Levenshtein-Damerau

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

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



Subject: Test file tests for "->new" but this doesn't exist
Download (untitled) / with headers
text/plain 1.1k
The test file 001_load.t tests for a method "new" but this doesn't exist in the module, so the test fails: --------------- Failing test code: my $object = Text::Levenshtein::Damerau->new (); isa_ok ($object, 'Text::Levenshtein::Damerau'); --------------- Output of "make test": $ make test PERL_DL_NONLAZY=1 /home/ben/software/install/bin/perl "- MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_load.t .. 1/2 Can't locate object method "new" via package "Text::Levenshtein::Damerau" at t/001_load.t line 9. # Looks like you planned 2 tests but ran 1. # Looks like your test exited with 255 just after 1. t/001_load.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests Test Summary Report ------------------- t/001_load.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 1. Files=1, Tests=1, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.03 cusr 0.01 csys = 0.08 CPU) Result: FAIL Failed 1/1 test programs. 0/1 subtests failed. *** Error code 255 Stop in /usr/home/ben/perl/Text-Levenshtein-Damerau.
Seems to have been fixed by removing the test!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.