ucrtbase: Simplify the snprintf/swprintf tests.
commit4b47da3ad7f94b01af53e0b0fa49c86a22967336
authorMartin Storsjo <martin@martin.st>
Mon, 2 Nov 2015 10:08:36 +0000 (2 12:08 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Nov 2015 14:02:23 +0000 (2 23:02 +0900)
treed09a4bef5f6a6b1beccd2848a6cc9d8a954f7bf7
parent2a74c9a8eda818c1245a4a245d4d087e46d28fac
ucrtbase: Simplify the snprintf/swprintf tests.

Avoid repeating the test strings, calculate the expected return value
with code.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ucrtbase/tests/printf.c