Commits

James Rouzier committed 85a000d

Fixed comment and made test more restrictive

Comments (0)

Files changed (1)

config-inifiles/t/06oo.t

 ok( ! $ini->Parameters( 'Section1' ), "DeleteSection was successful." );
 
 # test 9
-# DeleteSection
+# RenameSection
 $ini->newval("Section1", "Parameter1", "Value1");
 $ini->RenameSection( 'Section1', 'Section2' );
 # TEST
-ok( ! $ini->Parameters( 'Section1' ) && $ini->Parameters( 'Section2' ), "Rename Section1 to Section2 was successful." );
+ok( ! $ini->Parameters( 'Section1' ) && $ini->Parameters( 'Section2' ) && $ini->val('Section2','Parameter1') eq 'Value1'  , "RenameSection was successful." );
 
 # test 10
 # Delete entire config