Changeset 100
- Timestamp:
- 12/10/05 16:50:20 (19 years ago)
- Location:
- trunk/soft/ObsData
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/ObsData/ObsData.pm
- Property cvs2svn:cvs-rev changed from 1.31 to 1.32
r96 r100 53 53 }; 54 54 55 if ( $configfile) {56 (-f $configfile && -r _) orreturn undef;55 if (!($configfile && -f $configfile && -r _)) { 56 return undef; 57 57 } 58 58 -
trunk/soft/ObsData/t/O-01.t
- Property cvs2svn:cvs-rev changed from 1.6 to 1.7
r71 r100 1 1 # $Id$ 2 2 3 use Test::More tests => 3;3 use Test::More tests => 4; 4 4 5 5 use_ok('ObsData'); … … 8 8 9 9 ok(!ObsData->new('testdata/wrongfile'), "Return an error on bad file"); 10 ok(!ObsData->new(undef), "Return an error w/o a config file");
Note: See TracChangeset
for help on using the changeset viewer.