Index: webrtc/tools/agc/activity_metric.cc |
diff --git a/webrtc/tools/agc/activity_metric.cc b/webrtc/tools/agc/activity_metric.cc |
index a51216acd9e41f9cd806f51648dc48f8ac9f87b6..57e2ad615ff8ba5da33ed2c8ec469b5045bcd11b 100644 |
--- a/webrtc/tools/agc/activity_metric.cc |
+++ b/webrtc/tools/agc/activity_metric.cc |
@@ -292,7 +292,7 @@ void void_main(int argc, char* argv[]) { |
ASSERT_GE(ret_val, 0); |
if (ret_val > 0) { |
- ASSERT_TRUE(ret_val == true_vad_index); |
+ ASSERT_EQ(true_vad_index, ret_val); |
for (int n = 0; n < ret_val; n++) { |
if (true_vad[n] == 1) { |
total_active++; |