diff --git a/rosrust/tests/rosparam_get_set.rs b/rosrust/tests/rosparam_get_set.rs index 1c2911e..7c5be88 100644 --- a/rosrust/tests/rosparam_get_set.rs +++ b/rosrust/tests/rosparam_get_set.rs @@ -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::().unwrap()); + parameter.set(&String::from("bar")).unwrap(); + assert_eq!("bar", parameter.get::().unwrap()); } #[test]