Skip to content

Commit

Permalink
Double parsing test fails with changed locale
Browse files Browse the repository at this point in the history
  • Loading branch information
henningkayser committed Jan 23, 2023
1 parent 98212d4 commit fcbda9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hardware_interface/test/test_component_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ TEST_F(TestComponentParser, successfully_parse_valid_urdf_sensor_only)

TEST_F(TestComponentParser, successfully_parse_valid_urdf_actuator_only)
{
std::setlocale(LC_NUMERIC, "de_DE.UTF-8");

std::string urdf_to_test = std::string(ros2_control_test_assets::urdf_head) +
ros2_control_test_assets::valid_urdf_ros2_control_actuator_only +
ros2_control_test_assets::urdf_tail;
Expand Down

0 comments on commit fcbda9b

Please sign in to comment.