Skip to content

Commit

Permalink
Make loopback test stricter to test caching
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanademovic committed Aug 7, 2023
1 parent 0624d06 commit c46a7e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rosrust/tests/rosparam_get_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ fn simple_loopback_works() {
let parameter = rosrust::param("test1").unwrap();
parameter.set(&String::from("foo")).unwrap();
assert_eq!("foo", parameter.get::<String>().unwrap());
parameter.set(&String::from("bar")).unwrap();
assert_eq!("bar", parameter.get::<String>().unwrap());
}

#[test]
Expand Down

0 comments on commit c46a7e6

Please sign in to comment.