From: mike Date: Tue, 18 Oct 2005 16:27:29 +0000 (+0000) Subject: use warnings; X-Git-Tag: cpan_1_22~443 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=a81c9cd6426a63bb0b98984fd8be773a84914fad;p=ZOOM-Perl-moved-to-github.git use warnings; Comment now correctly names program. Remove extraneous comments. --- diff --git a/t/2-ZOOM.t b/t/2-ZOOM.t index 97f6dcf..603ce10 100644 --- a/t/2-ZOOM.t +++ b/t/2-ZOOM.t @@ -1,21 +1,13 @@ -# $Id: 2-ZOOM.t,v 1.6 2005-10-17 13:50:06 mike Exp $ +# $Id: 2-ZOOM.t,v 1.7 2005-10-18 16:27:29 mike Exp $ # Before `make install' is performed this script should be runnable with -# `make test'. After `make install' it should work as `perl ZOOM.t' - -######################### - -# change 'tests => 1' to 'tests => last_test_to_print'; +# `make test'. After `make install' it should work as `perl 2-ZOOM.t' use strict; +use warnings; use Test::More tests => 21; BEGIN { use_ok('ZOOM') }; -######################### - -# Insert your test code below, the Test::More module is use()ed here so read -# its man page ( perldoc Test::More ) for help writing this test script. - my $msg = ZOOM::diag_str(ZOOM::Error::INVALID_QUERY); ok($msg eq "Invalid query", "diagnostic string lookup works");