Changeset 5249
- Timestamp:
- Oct 7, 2005, 3:21:46 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PSFTP/t/02_parse.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PSFTP/t/02_parse.t
r5236 r5249 3 3 # Copyright (C) 2005 Joshua Hoblitt 4 4 # 5 # $Id: 02_parse.t,v 1. 2 2005-10-08 00:27:56 jhoblitt Exp $5 # $Id: 02_parse.t,v 1.3 2005-10-08 01:21:46 jhoblitt Exp $ 6 6 7 7 use strict; … … 10 10 use lib qw( ./lib ./t ); 11 11 12 use Test::More qw( no_plan );12 use Test::More tests => 31; 13 13 14 14 use PS::IPP::PSFTP::Parser; … … 84 84 } 85 85 } 86 87 { 88 my $results = $parser->parse(<<END); 89 2005-08-06|19:30:01|telescope_2005-08-06T19:30:01||foo=bar:baz=baz|8640|c462d570deb517d9bd92e5bb6a21cc86|http://flaxen.ifa.hawaii.edu/otis/data/metadata/telescope_2005-08-06T19:30:01 90 END 91 is($results, undef, "field not allowed to be null"); 92 } 93 94 95 { 96 my $results = $parser->parse(<<END); 97 2005-08-06|19:30:01|telescope_2005-08-06T19:30:01|foo=bar:baz=baz|8640|c462d570deb517d9bd92e5bb6a21cc86|http://flaxen.ifa.hawaii.edu/otis/data/metadata/telescope_2005-08-06T19:30:01 98 END 99 is($results, undef, "not enough fields"); 100 }
Note:
See TracChangeset
for help on using the changeset viewer.
