Skip to content

Commit

Permalink
fix reference in ros2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Carter committed Aug 9, 2024
1 parent c28a175 commit 8c947cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roslibrust/src/rosbridge/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ mod integration_tests {
.await?;

#[cfg(feature = "ros2_test")]
publisher.publish(Time { secs: 0, nsecs: 0 }).await?;
publisher.publish(&Time { secs: 0, nsecs: 0 }).await?;

match timeout(TIMEOUT, sub.next()).await {
Err(_elapsed) => {
Expand Down

0 comments on commit 8c947cf

Please sign in to comment.