diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 14:07:27 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 14:07:27 +0000 |
commit | dd6190612ab61c2a42bdfd465c088e5cfa1fd41c (patch) | |
tree | 93d001ee0e0b0106fc13602dca516ec3cc5bbf85 /chrome/browser/debugger | |
parent | 02e2a3d61ac16d8a7714ab7e69821ce89ea00279 (diff) | |
download | chromium_src-dd6190612ab61c2a42bdfd465c088e5cfa1fd41c.zip chromium_src-dd6190612ab61c2a42bdfd465c088e5cfa1fd41c.tar.gz chromium_src-dd6190612ab61c2a42bdfd465c088e5cfa1fd41c.tar.bz2 |
Mac/clang: First pass over unit_tests
Review URL: http://codereview.chromium.org/2876002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r-- | chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc b/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc index be08b4c6..5a2688d 100644 --- a/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc +++ b/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc @@ -99,7 +99,8 @@ void DevToolsRemoteListenSocketTester::TearDown() { #if defined(OS_WIN) closesocket(test_socket_); #elif defined(OS_POSIX) - HANDLE_EINTR(close(test_socket_)); + int ret = HANDLE_EINTR(close(test_socket_)); + ASSERT_EQ(ret, 0); #endif ASSERT_TRUE(NextAction(kDefaultTimeoutMs)); ASSERT_EQ(ACTION_CLOSE, last_action_.type()); |