From 9f53add86c96412c3f13655b90068bb77894b459 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 14 Sep 2004 00:46:03 +0000 Subject: [PATCH] Stop testing a sequence upon the first expected error, to avoid spurious errors later on. --- dlls/user/tests/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/user/tests/msg.c b/dlls/user/tests/msg.c index 72e365591e0..9b767556d9f 100644 --- a/dlls/user/tests/msg.c +++ b/dlls/user/tests/msg.c @@ -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 { -- 2.11.4.GIT