- Tests for parsing parameter api

This commit is contained in:
David Coallier 2008-06-24 22:51:57 +00:00
parent 827b772c9f
commit 0674689940
4 changed files with 6 additions and 6 deletions

View File

@ -20,12 +20,12 @@ echo "Done\n";
--EXPECTF--
*** Testing Error Conditions ***
Warning: Wrong parameter count for fprintf() in %s on line %d
Warning: fprintf() expects at least %d parameters, %d given in %s on line %d
NULL
Warning: Wrong parameter count for fprintf() in %s on line %d
Warning: fprintf() expects at least %d parameters, %d given in %s on line %d
NULL
Warning: Wrong parameter count for fprintf() in %s on line %d
Warning: fprintf() expects at least %d parameters, %d given in %s on line %d
NULL
Done

View File

@ -227,7 +227,7 @@ printf("%d", $tempstring);
--EXPECTF--
*** Output for zero argument ***
Warning: Wrong parameter count for printf() in %s on line %d
Warning: printf() expects at least %d parameter, %d given in %s on line %d
*** Output for insufficient number of arguments ***

View File

@ -39,7 +39,7 @@ echo "Done";
-- Testing sprintf() function with Zero arguments --
Warning: Wrong parameter count for sprintf() in %s on line %d
Warning: sprintf() expects at least %d parameter, %d given in %s on line %d
bool(false)
-- Testing sprintf() function with less than expected no. of arguments --

View File

@ -31,7 +31,7 @@ echo "Done";
-- Testing vsprintf() function with Zero arguments --
Warning: Wrong parameter count for vsprintf() in %s on line %d
Warning: vsprintf() expects at least %d parameter, %d given in %s on line %d
bool(false)
-- Testing vsprintf() function with less than expected no. of arguments --