Index: webrtc/test/fake_audio_device.cc |
diff --git a/webrtc/test/fake_audio_device.cc b/webrtc/test/fake_audio_device.cc |
index 435c53f8783fc7f9ecb6bd8d149d9c0e6cd4215f..43c2933ba76b9ae3a220170fad05870c60043950 100644 |
--- a/webrtc/test/fake_audio_device.cc |
+++ b/webrtc/test/fake_audio_device.cc |
@@ -39,8 +39,7 @@ FakeAudioDevice::FakeAudioDevice(Clock* clock, |
memset(captured_audio_, 0, sizeof(captured_audio_)); |
memset(playout_buffer_, 0, sizeof(playout_buffer_)); |
// Open audio input file as read-only and looping. |
- EXPECT_EQ(0, input_stream_->OpenFile(filename.c_str(), true, true)) |
- << filename; |
+ EXPECT_TRUE(input_stream_->OpenFile(filename.c_str(), true)) << filename; |
} |
FakeAudioDevice::~FakeAudioDevice() { |