Frédéric Delanoy : cmd/tests: Remove redundant ok check in compare_line function.

Alexandre Julliard julliard at winehq.org
Thu Aug 4 12:22:11 CDT 2011


Module: wine
Branch: master
Commit: 7158257fd86cdf1990274cfda30df1b3c04b9d8b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7158257fd86cdf1990274cfda30df1b3c04b9d8b

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Aug  4 11:50:45 2011 +0200

cmd/tests: Remove redundant ok check in compare_line function.

---

 programs/cmd/tests/batch.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/programs/cmd/tests/batch.c b/programs/cmd/tests/batch.c
index 67ecd3d..da96434 100644
--- a/programs/cmd/tests/batch.c
+++ b/programs/cmd/tests/batch.c
@@ -178,7 +178,6 @@ static const char *compare_line(const char *out_line, const char *out_end, const
             }else if(exp_ptr+sizeof(space_cmd) <= exp_end
                     && !memcmp(exp_ptr, space_cmd, sizeof(space_cmd))) {
                 exp_ptr += sizeof(space_cmd);
-                ok(*out_ptr == ' ', "expected space\n");
                 if(out_ptr < out_end && *out_ptr == ' ')
                     out_ptr++;
                 continue;




More information about the wine-cvs mailing list