X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F2-input.t;h=e5bfd3b35ba456398592be905b84fd2fc6619a00;hb=ccb001910f81859633e3ee190e2ae79a1751759d;hp=052b5866d299e03d851db548f45859b32ccdca58;hpb=01091188dac765b18d9fb9bd84cad20ee4bd3e95;p=webpac2 diff --git a/t/2-input.t b/t/2-input.t index 052b586..e5bfd3b 100755 --- a/t/2-input.t +++ b/t/2-input.t @@ -98,8 +98,8 @@ sub test_start_limit($$$$) { cmp_ok($input->size, '==', $e, "input->size = $e"); } -test_start_limit($input, 1, 3, 3); -test_start_limit($input, $size, 3, 0); +test_start_limit($input, 1, 0, $size - 1); +test_start_limit($input, $size, 0, 0); test_start_limit($input, 3, $size, $size - 3); test_start_limit($input, 1, $size, $size - 1);