diff --git a/libraries/AP_Math/tests/test_control.cpp b/libraries/AP_Math/tests/test_control.cpp index c20bcc6916b4a..913cfe7fbf21b 100644 --- a/libraries/AP_Math/tests/test_control.cpp +++ b/libraries/AP_Math/tests/test_control.cpp @@ -509,7 +509,7 @@ TEST(Control, test_limit_accel) signal_caught = true; } else { // we come through here normally - EXPECT_FALSE(limit_accel_xy(vel, accel, accel_max)); + EXPECT_TRUE(limit_accel_xy(vel, accel, accel_max)); } EXPECT_FALSE(signal_caught);