Changeset 2871 for trunk/Nebulous/t/16_client_find_instances.t
- Timestamp:
- Jan 3, 2005, 1:52:44 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/16_client_find_instances.t (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/16_client_find_instances.t
r2870 r2871 6 6 use Apache::Test qw( -withtestmore ); 7 7 8 plan tests => 1 3;8 plan tests => 19; 9 9 10 10 use lib qw( ./t ./lib ); … … 29 29 is( scalar @$locations, 1, "found 1" ); 30 30 like( @$locations[0], qr/file:/, "URIs match" ); 31 ok( -e _get_file_path( @$locations[0] ), "URI matches file" ); 31 32 } 32 33 … … 46 47 like( @$locations[0], qr/file:/, "URIs match" ); 47 48 like( @$locations[1], qr/file:/, "URIs match" ); 49 ok( -e _get_file_path( @$locations[0] ), "URI matches file" ); 50 ok( -e _get_file_path( @$locations[1] ), "URI matches file" ); 48 51 } 49 52 … … 61 64 is( scalar @$locations, 1, "found 1" ); 62 65 like( @$locations[0], qr/file:/, "URIs match" ); 66 ok( -e _get_file_path( @$locations[0] ), "URI matches file" ); 63 67 } 64 68 … … 78 82 like( @$locations[0], qr/file:/, "URIs match" ); 79 83 like( @$locations[1], qr/file:/, "URIs match" ); 84 ok( -e _get_file_path( @$locations[0] ), "URI matches file" ); 85 ok( -e _get_file_path( @$locations[1] ), "URI matches file" ); 80 86 } 81 82 87 83 88 Test::IData->setup;
Note:
See TracChangeset
for help on using the changeset viewer.
