[SHELL32_APITEST]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 12 Nov 2016 12:43:02 +0000 (12:43 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 12 Nov 2016 12:43:02 +0000 (12:43 +0000)
- Don't compare a pointer to S_OK
CORE-11794

svn path=/trunk/; revision=73210

rostests/apitests/shell32/menu.cpp

index dfccc10..09e8a2b 100644 (file)
@@ -257,7 +257,7 @@ public:
 
        struct _test_info *result = &m_results[m_iCallback-1];
 
 
        struct _test_info *result = &m_results[m_iCallback-1];
 
-       ok(psmd != S_OK, "Got NULL psmd\n");
+       ok(psmd != NULL, "Got NULL psmd\n");
        ok(m_iTest == result->iTest, "Wrong test number (%d not %d)\n", m_iTest, result->iTest);
        ok(result->uMsg == uMsg, "%d: Got wrong uMsg (%d instead of %d)\n", m_iCallback, uMsg, result->uMsg);
            
        ok(m_iTest == result->iTest, "Wrong test number (%d not %d)\n", m_iTest, result->iTest);
        ok(result->uMsg == uMsg, "%d: Got wrong uMsg (%d instead of %d)\n", m_iCallback, uMsg, result->uMsg);