Paul Vriens : inetmib1/tests: Compare instead of assign.

Alexandre Julliard julliard at winehq.org
Wed Oct 8 08:32:46 CDT 2008


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Wed Oct  8 08:54:56 2008 +0200

inetmib1/tests: Compare instead of assign.

---

 dlls/inetmib1/tests/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/inetmib1/tests/main.c b/dlls/inetmib1/tests/main.c
index d4d6f16..e00749f 100644
--- a/dlls/inetmib1/tests/main.c
+++ b/dlls/inetmib1/tests/main.c
@@ -364,7 +364,7 @@ static void testQuery(void)
              * FIXME: don't know if IPv6 addrs are shared with this table.
              * Don't think so, but I'm not certain.
              */
-            ok(vars2[0].name.idLength = vars[0].name.idLength + 4,
+            ok(vars2[0].name.idLength == vars[0].name.idLength + 4,
                 "expected length %d, got %d\n", vars[0].name.idLength + 4,
                 vars2[0].name.idLength);
             /* Make sure the type is right */




More information about the wine-cvs mailing list