Author: tfaber
Date: Sat Nov 12 12:43:02 2016
New Revision: 73210
URL:
http://svn.reactos.org/svn/reactos?rev=73210&view=rev
Log:
[SHELL32_APITEST]
- Don't compare a pointer to S_OK
CORE-11794
Modified:
trunk/rostests/apitests/shell32/menu.cpp
Modified: trunk/rostests/apitests/shell32/menu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/shell32/menu.cpp…
==============================================================================
--- trunk/rostests/apitests/shell32/menu.cpp [iso-8859-1] (original)
+++ trunk/rostests/apitests/shell32/menu.cpp [iso-8859-1] Sat Nov 12 12:43:02 2016
@@ -257,7 +257,7 @@
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);