From 843d4dd0a33f9965db34afc40338b75871e66ce3 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Wed, 2 Sep 2009 16:34:48 +0000 Subject: 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 --- net/ftp/ftp_network_transaction_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/ftp/ftp_network_transaction_unittest.cc') 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()); } -- cgit v1.1