Skip to content

Commit

Permalink
Be explicit about --ros-args.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic committed Sep 4, 2019
1 parent 9eff33e commit 9f70bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/test/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ def test_bad_node_arguments(self):
rclpy.create_node(
'my_node',
namespace='/my_ns',
cli_args=['-r', 'not-a-remap'],
cli_args=['--ros-args', '-r', 'not-a-remap'],
context=context)

with self.assertRaises(_rclpy.UnknownROSArgsError):
Expand Down

0 comments on commit 9f70bd9

Please sign in to comment.