Skip to content

Commit 005d475

Browse files
authored
Merge pull request #6018 from NlightNFotis/upgrade-catch-version
Upgrade catch version to 2.13.6
2 parents f847fcd + 38a3ea0 commit 005d475

File tree

7 files changed

+6311
-2746
lines changed

7 files changed

+6311
-2746
lines changed

jbmc/unit/java_bytecode/java_bytecode_convert_method/convert_invoke_dynamic.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,15 @@ void validate_lambda_assignment(
9494
REQUIRE_THAT(
9595
parents,
9696
// NOLINTNEXTLINE(whitespace/braces)
97-
Catch::Matchers::Vector::ContainsElementMatcher<irep_idt>{
98-
test_data.lambda_interface});
97+
Catch::Matchers::VectorContains(test_data.lambda_interface));
9998

10099
const auto &interface_children =
101100
class_hierarchy.get_children_trans(test_data.lambda_interface);
102101

103102
REQUIRE_THAT(
104103
interface_children,
105104
// NOLINTNEXTLINE(whitespace/braces)
106-
Catch::Matchers::Vector::ContainsElementMatcher<irep_idt>{
107-
tmp_class_identifier});
105+
Catch::Matchers::VectorContains(tmp_class_identifier));
108106

109107
THEN("The function in the class should call the lambda method")
110108
{
@@ -145,7 +143,7 @@ void validate_lambda_assignment(
145143

146144
REQUIRE_THAT(
147145
function_call.arguments(),
148-
Catch::Matchers::Vector::EqualsMatcher<exprt>{expected_args});
146+
Catch::Matchers::Equals(std::vector<exprt>(expected_args)));
149147

150148
if(test_data.should_return_value)
151149
{

0 commit comments

Comments
 (0)