From c9b86b108c6ef240e03535a06a2956f7f0fef3d5 Mon Sep 17 00:00:00 2001 From: CEL Dev Team Date: Wed, 8 Oct 2025 10:03:48 -0700 Subject: [PATCH] Fix order of assertion parameters in the C++ testrunner. PiperOrigin-RevId: 816755113 --- testing/testrunner/runner_lib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,