Stop testing a sequence upon the first expected error, to avoid
spurious errors later on.
This commit is contained in:
parent
b2499c9757
commit
9f53add86c
|
@ -850,9 +850,9 @@ static void ok_sequence(const struct message *expected, const char *context, int
|
|||
todo_wine {
|
||||
ok (FALSE, "%s: the msg 0x%04x was expected, but got msg 0x%04x instead\n",
|
||||
context, expected->message, actual->message);
|
||||
expected++;
|
||||
actual++;
|
||||
}
|
||||
flush_sequence();
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue