diff --git a/rust/test/shared/accessors_test.rs b/rust/test/shared/accessors_test.rs index ccd3d4629e..0fbb535ee5 100644 --- a/rust/test/shared/accessors_test.rs +++ b/rust/test/shared/accessors_test.rs @@ -33,6 +33,8 @@ fn test_default_accessors() { default_bool(): eq(true), }) ); + assert_that!(msg.default_string(), eq("hello")); + assert_that!(msg.default_bytes(), eq("world".as_bytes())); } #[test]