aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-01 02:31:19 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-01 02:31:19 +1000
commit474f6e90ffc51cb83c25cc1d75f973fe489014f4 (patch)
tree48887343467719767b47cbe6ada968c4c50e26f4 /fish_tests.c
parent7cbc11f1c3b7b78a760f64918ccba3972b5468f2 (diff)
Use maxi not max in test suite when comaparing ints
darcs-hash:20060731163119-ac50b-94134f758d9cd7e87746fb93f187aa100c1b820d.gz
Diffstat (limited to 'fish_tests.c')
-rw-r--r--fish_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.c b/fish_tests.c
index ba882cc9..3d862990 100644
--- a/fish_tests.c
+++ b/fish_tests.c
@@ -307,7 +307,7 @@ static void al_test( int sz)
al_set( &l, 1, (void *)7 );
al_set( &l, sz, (void *)7 );
- if( al_get_count( &l ) != maxf( sz+1, 2 ) )
+ if( al_get_count( &l ) != maxi( sz+1, 2 ) )
err( L"Wrong number of elements in array list" );
for( i=0; i<al_get_count( &l ); i++ )