Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Apr 7, 2020
1 parent da40346 commit 07f9e28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rclcpp/test/test_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ TEST_F(TestNode, declare_parameter_with_overrides) {
// default type and initial value type do not match
EXPECT_THROW(
{node->declare_parameter("parameter_type_mismatch", 42);},
rclcpp::ParameterTypeException);
rclcpp::exceptions::InvalidParameterTypeException);
}
}

Expand Down Expand Up @@ -1717,7 +1717,7 @@ TEST_F(TestNode, get_parameter_undeclared_parameters_not_allowed) {
int value;
node->get_parameter(name, value);
},
rclcpp::ParameterTypeException);
rclcpp::exceptions::InvalidParameterTypeException);
}
}

Expand Down Expand Up @@ -1951,7 +1951,7 @@ TEST_F(TestNode, get_parameters_undeclared_parameters_not_allowed) {
{
node_local->get_parameters("", actual);
},
rclcpp::ParameterTypeException);
rclcpp::exceptions::InvalidParameterTypeException);
}
}
}
Expand Down

0 comments on commit 07f9e28

Please sign in to comment.