mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898691 - Avoid wasted work in TestTextFormatter.cpp. r=jlebar
This commit is contained in:
parent
6133f659d2
commit
a65b61e71e
@ -29,9 +29,12 @@ int main()
|
||||
0x20, 0x33, 0x33, 0x33, 0x20, 0x33,
|
||||
0x33, 0x33, 0x20, 0x48, 0x65, 0x6C,
|
||||
0x6C, 0x6F};
|
||||
for(uint32_t i=0;i<out.Length();i++)
|
||||
if(uout[i] != expected[i])
|
||||
for(uint32_t i=0;i<out.Length();i++) {
|
||||
if(uout[i] != expected[i]) {
|
||||
test_ok = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
printf(test_ok? "nsTextFormatter: OK\n": "nsTextFormatter: FAIL\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user