diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 16:34:48 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 16:34:48 +0000 |
commit | 843d4dd0a33f9965db34afc40338b75871e66ce3 (patch) | |
tree | c85e7cc6688407f5535e68b117cb0df5d053c906 /net/ftp/ftp_network_transaction_unittest.cc | |
parent | 2c7c9029d4dcffbeb340a78611a1703bbc052e1d (diff) | |
download | chromium_src-843d4dd0a33f9965db34afc40338b75871e66ce3.zip chromium_src-843d4dd0a33f9965db34afc40338b75871e66ce3.tar.gz chromium_src-843d4dd0a33f9965db34afc40338b75871e66ce3.tar.bz2 |
Cleanup: use OK instead of 0 when checking return code in ftp_network_transaction_unittest.cc
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/176069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction_unittest.cc')
-rw-r--r-- | net/ftp/ftp_network_transaction_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ftp/ftp_network_transaction_unittest.cc b/net/ftp/ftp_network_transaction_unittest.cc index e2b0b87..caf08f5 100644 --- a/net/ftp/ftp_network_transaction_unittest.cc +++ b/net/ftp/ftp_network_transaction_unittest.cc @@ -510,7 +510,7 @@ TEST_F(FtpNetworkTransactionTest, DownloadTransactionAcceptedDataConnection) { // Make sure the transaction finishes cleanly. EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); - EXPECT_EQ(0, callback_.WaitForResult()); + EXPECT_EQ(OK, callback_.WaitForResult()); EXPECT_EQ(FtpMockControlSocket::QUIT, ctrl_socket.state()); EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); } |