07_Dialog_Renumber.t (gscan2pdf-2.13.1.tar.xz) | : | 07_Dialog_Renumber.t (gscan2pdf-2.13.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 86 | skipping to change at line 86 | |||
is_deeply( \@selected, [ 2, 3 ], 'selected' ); | is_deeply( \@selected, [ 2, 3 ], 'selected' ); | |||
$dialog->set( 'range', 'selected' ); | $dialog->set( 'range', 'selected' ); | |||
is( $dialog->get('start'), | is( $dialog->get('start'), | |||
4, 'start for document with start and step clash' ); | 4, 'start for document with start and step clash' ); | |||
is( $dialog->get('increment'), | is( $dialog->get('increment'), | |||
1, 'step for document with start and step clash' ); | 1, 'step for document with start and step clash' ); | |||
######################### | ######################### | |||
$dialog->set( 'increment', 0 ); | $dialog->set( 'increment', 0 ); | |||
is( $dialog->get('start'), 4, 'start for document with negative step' ); | is( $dialog->get('start'), 4, 'start for document with negative step' ); | |||
is( $dialog->get('increment'), -2, 'step for document with negative step' ); | is( $dialog->get('increment'), -2, 'step for document with negative step' ); | |||
$dialog->signal_connect( | $dialog->signal_connect( | |||
'before-renumber' => sub { | 'before-renumber' => sub { | |||
pass('before-renumber signal fired on renumber'); | pass('before-renumber signal fired on renumber'); | |||
} | } | |||
); | ); | |||
$dialog->renumber; | $dialog->renumber; | |||
$loop1->quit; | $loop1->quit; | |||
}; | }; | |||
$slist->import_scan(%options); | $slist->import_scan(%options); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |