diff --git a/testing/testrunner/runner_lib.cc b/testing/testrunner/runner_lib.cc index 525feda00..aabbaefb6 100644 --- a/testing/testrunner/runner_lib.cc +++ b/testing/testrunner/runner_lib.cc @@ -310,7 +310,7 @@ void TestRunner::AssertValue(const cel::Value& computed, ASSERT_OK_AND_ASSIGN( computed_expr_value, ToExprValue(computed, descriptor_pool, message_factory, arena)); - EXPECT_THAT(expected_value_proto, MatchesValue(computed_expr_value)); + EXPECT_THAT(computed_expr_value, MatchesValue(expected_value_proto)); } void TestRunner::AssertError(const cel::Value& computed,