X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffscan_sources.incl;h=6502356878096bd424580e4178f1b057b0f72855;hp=ef0ac7fa55fe5de9fa2a3da0193638d33e185f46;hb=e225d3c69eaaeb3203de2532bb4eb37d1f813de7;hpb=164e8c095e19af2595865d2713dd4d3d893b71e0 diff --git a/functions/stdio/fscan_sources.incl b/functions/stdio/fscan_sources.incl index ef0ac7f..6502356 100644 --- a/functions/stdio/fscan_sources.incl +++ b/functions/stdio/fscan_sources.incl @@ -13,10 +13,10 @@ FILE * hexadecimal = fopen( "scanf_testdata_hexadecimal", "wb+" ); TESTCASE( hexadecimal != NULL ); - TESTCASE( fwrite( "-0x0 -0x000 -0x7f 0x80 0xff -0x7fff 0x8000\n" - "0xffff -0x7fffffff 0x80000000 0xffffffff\n" - "-0x7fffffffffffffff 0x8000000000000000\n" - "0xffffffffffffffff\n", 1, 142, hexadecimal ) == 142 ); + TESTCASE( fwrite( "-0x0 -0x000 -0x7f -0x80 0xff -0x7fff -0x8000\n" + "0xffff -0x7fffffff -0x80000000 0xffffffff\n" + "-0x7fffffffffffffff -0x8000000000000000\n" + "0xffffffffffffffff\n", 1, 146, hexadecimal ) == 146 ); rewind( hexadecimal ); FILE * octal = fopen( "scanf_testdata_octal", "wb+" );