Index: chrome/common/extensions/extension_unittest.cc |
=================================================================== |
--- chrome/common/extensions/extension_unittest.cc (revision 27387) |
+++ chrome/common/extensions/extension_unittest.cc (working copy) |
@@ -283,14 +283,14 @@ |
DictionaryValue input; |
// First try with an empty dictionary. We should get nothing back. |
- ASSERT_EQ(NULL, extension.LoadContextualActionHelper( |
- &input, 0, &error_msg, ContextualAction::PAGE_ACTION)); |
+ ASSERT_TRUE(extension.LoadContextualActionHelper( |
+ &input, 0, &error_msg, ContextualAction::PAGE_ACTION) == NULL); |
ASSERT_STRNE("", error_msg.c_str()); |
error_msg = ""; |
// Now try the same, but as a browser action. Ensure same results. |
- ASSERT_EQ(NULL, extension.LoadContextualActionHelper( |
- &input, 0, &error_msg, ContextualAction::BROWSER_ACTION)); |
+ ASSERT_TRUE(extension.LoadContextualActionHelper( |
+ &input, 0, &error_msg, ContextualAction::BROWSER_ACTION) == NULL); |
ASSERT_STRNE("", error_msg.c_str()); |
error_msg = ""; |