Use `#[googletest::test]` in Protobuf Rust
PiperOrigin-RevId: 654726974
diff --git a/rust/repeated.rs b/rust/repeated.rs
index 692a249..d7a02e4 100644
--- a/rust/repeated.rs
+++ b/rust/repeated.rs
@@ -542,7 +542,7 @@
use super::*;
use googletest::prelude::*;
- #[test]
+ #[googletest::test]
fn test_primitive_repeated() {
macro_rules! primitive_repeated_tests {
($($t:ty => [$($vals:expr),* $(,)?]),* $(,)?) => {
@@ -583,7 +583,7 @@
);
}
- #[test]
+ #[googletest::test]
fn test_repeated_extend() {
let mut r = Repeated::<i32>::new();
@@ -600,7 +600,7 @@
assert_that!(r.as_mut(), elements_are![eq(0), eq(1), eq(2), eq(3)]);
}
- #[test]
+ #[googletest::test]
fn test_repeated_iter_into_proxied() {
let r: Repeated<i32> = [0, 1, 2, 3].into_iter().into_proxied(Private);
assert_that!(r.as_view(), elements_are![eq(0), eq(1), eq(2), eq(3)]);