mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Put braces around non-trivial compound statement bodies in test
No real changes, just make the code a bit more readable.
This commit is contained in:
@@ -124,12 +124,16 @@ void doTest(const char* input, const char* expectedScanf,
|
||||
|
||||
// try the test for a variety of combinations of flag, width and precision
|
||||
for (const wxChar** prec = precs; *prec; prec++)
|
||||
{
|
||||
for (const wxChar** width = flag_width; *width; width++)
|
||||
{
|
||||
check(fmt + *width + *prec + input,
|
||||
fmt + *width + *prec + expectedScanf,
|
||||
fmt + *width + *prec + expectedUtf8,
|
||||
fmt + *width + *prec + expectedWcharUnix,
|
||||
fmt + *width + *prec + expectedWcharWindows);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user