summaryrefslogtreecommitdiff
path: root/textproc/bibutils/files/patch-test_intlist__test.c
blob: ba5fbe6d48075a684e0ee5066adc4cd1b0abb51c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- test/intlist_test.c.orig	2019-01-06 09:13:07 UTC
+++ test/intlist_test.c
@@ -275,7 +275,7 @@ test_randomize( void )
 	check_len( &a, 100 );
 	for ( i=0; i<99; ++i ) {
 		m = intlist_find( &a, i );
-		check( (m>=0&&m<99), "intlist_randomize() shouldn't remove values" );
+		check( (m>=0&&m<=99), "intlist_randomize() shouldn't remove values" );
 	}
 
 	intlist_free( &a );