Add coverage for default_string and default_bytes in test_default_accessors

PiperOrigin-RevId: 588822948
pull/14975/head
Hong Shin 12 months ago committed by Copybara-Service
parent 8edf0bd630
commit 53411896ab
  1. 2
      rust/test/shared/accessors_test.rs

@ -33,6 +33,8 @@ fn test_default_accessors() {
default_bool(): eq(true), default_bool(): eq(true),
}) })
); );
assert_that!(msg.default_string(), eq("hello"));
assert_that!(msg.default_bytes(), eq("world".as_bytes()));
} }
#[test] #[test]

Loading…
Cancel
Save