[PATCH 0/1] MR6652: msvcp90/tests: Add tests for int in num_put.
From: Daniel Lehman <dlehman25(a)gmail.com> --- dlls/msvcp90/tests/ios.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dlls/msvcp90/tests/ios.c b/dlls/msvcp90/tests/ios.c index db93826b175..86bf78e21b4 100644 --- a/dlls/msvcp90/tests/ios.c +++ b/dlls/msvcp90/tests/ios.c @@ -1595,9 +1595,15 @@ static void test_num_put_put_int(void) IOSB_fmtflags fmtfl; const char *str; } tests[] = { - { 1, 0, "1" }, - { -1, 0, "-1" }, - { -1, FMTFLAG_internal, "-1" }, + { 1, 0, "1" }, + { -1, 0, "-1" }, + { -1, FMTFLAG_internal, "-1" }, + { 1, FMTFLAG_showpos, "+1" }, + { 1, FMTFLAG_hex, "1" }, + { 1, FMTFLAG_hex|FMTFLAG_showbase, "0x1" }, + { 1, FMTFLAG_internal|FMTFLAG_hex|FMTFLAG_showbase, "0x1" }, + { 1, FMTFLAG_internal|FMTFLAG_hex|FMTFLAG_showbase|FMTFLAG_uppercase, "0X1" }, + { 1, FMTFLAG_internal|FMTFLAG_oct|FMTFLAG_showbase, "01" }, }; for(i=0; i<ARRAY_SIZE(tests); i++) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6652
This merge request was approved by Piotr Caban. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6652
participants (3)
-
Daniel Lehman -
Daniel Lehman (@dlehman25) -
Piotr Caban (@piotr)