Camera2 tests: Fix a typo of a test check
Change-Id: Ib47eba8d01e93d0c3ce2b1e8bc2ff638529e32f9
diff --git a/tests/camera2/CameraBurstTests.cpp b/tests/camera2/CameraBurstTests.cpp
index cf8f68a..5ad638a 100644
--- a/tests/camera2/CameraBurstTests.cpp
+++ b/tests/camera2/CameraBurstTests.cpp
@@ -420,7 +420,7 @@
maxDuration = maxFrameDuration.data.i64[0];
}
- EXPECT_GT(0, maxDuration) << "Max duration is 0 or not given, using fallback";
+ EXPECT_GT(maxDuration, 0) << "Max duration is 0 or not given, using fallback";
if (maxDuration == 0) {
maxDuration = 10 * SEC; // Fall back to 10 seconds as max duration