Changeset 8940 for trunk/PS-IPP-Metadata-Config/t/05_time.t
- Timestamp:
- Sep 25, 2006, 11:49:42 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Metadata-Config/t/05_time.t (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Metadata-Config/t/05_time.t
r3655 r8940 3 3 # Copyright (C) 2005 Joshua Hoblitt 4 4 # 5 # $Id: 05_time.t,v 1. 2 2005-04-05 00:16:41jhoblitt Exp $5 # $Id: 05_time.t,v 1.3 2006-09-25 21:49:42 jhoblitt Exp $ 6 6 7 7 use strict; … … 12 12 #$::RD_TRACE = 1; 13 13 14 use Test::More tests => 8;14 use Test::More tests => 10; 15 15 use PS::IPP::Metadata::Config; 16 16 … … 30 30 { 31 31 my $example =<<END; 32 recently UTC 2005-03-18T16:05:00.000001Z 33 recently UT1 2005-03-18T16:05:00.000001Z 34 recently TAI 2005-03-18T16:05:00.000001Z 35 recently TT 2005-03-18T16:05:00.000001Z 36 END 37 my $config = $config_parser->parse( $example ); 38 ok( defined( $config ), "basic IS8601 with fractional seconds"); 39 } 40 41 { 42 my $example =<<END; 32 43 recently UTC 2005-03-18T16:05:00Z # foo 33 44 recently UT1 2005-03-18T16:05:00Z # bar … … 37 48 my $config = $config_parser->parse( $example ); 38 49 ok( defined( $config ), "ISO8601 with comments"); 50 } 51 52 { 53 my $example =<<END; 54 recently UTC 2005-03-18T16:05:00.000001Z # foo 55 recently UT1 2005-03-18T16:05:00.000001Z # bar 56 recently TAI 2005-03-18T16:05:00.000001Z # baz 57 recently TT 2005-03-18T16:05:00.000001Z # 58 END 59 my $config = $config_parser->parse( $example ); 60 ok( defined( $config ), "ISO8601 with comments and fractional seconds"); 39 61 } 40 62
Note:
See TracChangeset
for help on using the changeset viewer.
