Skip to content

Commit b84871a

Browse files
committed
Fix tests
1 parent aec7b30 commit b84871a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware_interface/test/test_handle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ TEST(TestHandle, handle_constructor_bool_data_type)
267267
EXPECT_EQ(handle.get_interface_name(), collision_interface);
268268
EXPECT_EQ(handle.get_prefix_name(), itf_name);
269269
EXPECT_NO_THROW({ std::ignore = handle.get_optional<bool>(); });
270-
ASSERT_FALSE(handle.get_optional<bool>().value())
270+
ASSERT_TRUE(handle.get_optional<bool>().value())
271271
<< "Default value should be true as it is initialized";
272272
ASSERT_TRUE(handle.set_value(false));
273273
ASSERT_FALSE(handle.get_optional<bool>().value());

0 commit comments

Comments
 (0)