mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-03-11 23:01:01 +00:00
Fix a test case to account for printf '-' flag overriding '0'.
This commit is contained in:
parent
3a298ec341
commit
84401b4e97
@ -54,7 +54,7 @@ int main (void)
|
||||
if (i != 1)
|
||||
goto Fail3;
|
||||
string [41] = '\0';
|
||||
if (strcmp (string, " +009. -0001.23456E-18 9876543210 G"))
|
||||
if (strcmp (string, " +009. -1.23456E-18 9876543210 G"))
|
||||
goto Fail;
|
||||
|
||||
rewind (stdout);
|
||||
@ -62,10 +62,10 @@ int main (void)
|
||||
if (i != 1)
|
||||
goto Fail3;
|
||||
string [41] = '\0';
|
||||
if (strcmp (string, " +009. -0001.23456E-18 9876543210 G"))
|
||||
if (strcmp (string, " +009. -1.23456E-18 9876543210 G"))
|
||||
goto Fail;
|
||||
|
||||
if (strcmp (sstring, " +009. -0001.23456E-18 9876543210 G\n"))
|
||||
if (strcmp (sstring, " +009. -1.23456E-18 9876543210 G\n"))
|
||||
goto Fail;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user