diff --git a/netwerk/test/TestCookie.cpp b/netwerk/test/TestCookie.cpp index e60166331d24..b0829d876890 100644 --- a/netwerk/test/TestCookie.cpp +++ b/netwerk/test/TestCookie.cpp @@ -115,7 +115,7 @@ CheckResult(const char *aLhs, PRUint32 aRule, const char *aRhs = nsnull) { switch (aRule) { case MUST_BE_NULL: - return !aLhs; + return !aLhs || !*aLhs; case MUST_EQUAL: return !PL_strcmp(aLhs, aRhs);