IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3494


Ignore:
Timestamp:
Mar 24, 2005, 12:07:25 PM (21 years ago)
Author:
jhoblitt
Message:

updated test to reflect behaviors allowed by overwrite()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Metadata-Config/t/06_multi.t

    r3486 r3494  
    33# Copyright (C) 2005  Joshua Hoblitt
    44#
    5 # $Id: 06_multi.t,v 1.3 2005-03-23 22:03:52 jhoblitt Exp $
     5# $Id: 06_multi.t,v 1.4 2005-03-24 22:07:25 jhoblitt Exp $
    66
    77use strict;
     
    6565};
    6666    my $config = $config_parser->parse( $example );
    67     ok( !defined( $config ), "MULTI not in scope");
     67    # ok because of overwrite
     68    ok( defined( $config ), "MULTI not in scope");
    6869}
    6970
     
    7778};
    7879    my $config = $config_parser->parse( $example );
    79     ok( !defined( $config ), "MULTI not in scope");
     80    # ok because of overwrite
     81    ok( defined( $config ), "MULTI not in scope");
    8082}
    8183
     
    8789baz METADATA
    8890    foo S8      -1
    89 bar METADATA
     91END
    9092};
    9193    my $config = $config_parser->parse( $example );
    92     ok( !defined( $config ), "MULTI not in scope");
     94    # ok because of overwrite
     95    ok( defined( $config ), "MULTI not in scope");
    9396}
    9497
     
    109112};
    110113    my $config = $config_parser->parse( $example );
    111     ok( !defined( $config ), "missing MULTI declaration");
     114    # ok because of overwrite
     115    ok( defined( $config ), "missing MULTI declaration");
    112116}
Note: See TracChangeset for help on using the changeset viewer.