Skip to content

Commit 951f433

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
Fix order of assertion parameters in the C++ testrunner.
PiperOrigin-RevId: 816257123
1 parent cf04551 commit 951f433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/testrunner/runner_lib.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ void TestRunner::AssertValue(const cel::Value& computed,
310310
ASSERT_OK_AND_ASSIGN(
311311
computed_expr_value,
312312
ToExprValue(computed, descriptor_pool, message_factory, arena));
313-
EXPECT_THAT(expected_value_proto, MatchesValue(computed_expr_value));
313+
EXPECT_THAT(computed_expr_value, MatchesValue(expected_value_proto));
314314
}
315315

316316
void TestRunner::AssertError(const cel::Value& computed,

0 commit comments

Comments
 (0)