[2/4] cmd/tests: Remove redundant ok check in compare_line function

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Aug 4 04:50:45 CDT 2011


Errors already checked in caller (test_output 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;
-- 
1.7.6




More information about the wine-patches mailing list