Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4423)

Unified Diff: chrome/browser/extensions/api/socket/socket_api_unittest.cc

Issue 10907151: Extensions Docs Server: Enum values do not show up if enum is a type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rtcPrivate fix Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/socket/socket_api_unittest.cc
diff --git a/chrome/browser/extensions/api/socket/socket_api_unittest.cc b/chrome/browser/extensions/api/socket/socket_api_unittest.cc
index 008e07b24fd1783914553b17adb2ae37aee24487..ff1466cf6deb27f714b0b5f000ccbf4e18d50357 100644
--- a/chrome/browser/extensions/api/socket/socket_api_unittest.cc
+++ b/chrome/browser/extensions/api/socket/socket_api_unittest.cc
@@ -74,11 +74,6 @@ TEST_F(SocketUnitTest, Create) {
new SocketCreateFunction(), "[\"tcp\"]"));
ASSERT_TRUE(result.get());
}
- {
- std::string error = RunFunctionAndReturnError(
- new SocketCreateFunction(), "[\"nonexistent-socket-type\"]");
- ASSERT_FALSE(error.empty()) << "Expected error. Got nothing instead.";
- }
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698