Skip to content

Commit

Permalink
[rostest] Fix type in hztest assertion (ros#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
130s committed Feb 18, 2017
1 parent ea13207 commit 7beb16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rostest/nodes/hztest
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Test Duration: %s"""%(hz, hzerror, topic, test_duration))
self.assert_(hz >= 0.0, "bad parameter (hz)")
self.assert_(hzerror >= 0.0, "bad parameter (hzerror)")
self.assert_(test_duration > 0.0, "bad parameter (test_duration)")
self.assert_(len(topic), "bad parameter (topic")
self.assert_(len(topic), "bad parameter (topic)")

if hz == 0:
self.min_rate = 0.0
Expand Down

0 comments on commit 7beb16e

Please sign in to comment.