Skip to content

Commit 40f0b33

Browse files
gribozavrcopybara-github
authored andcommitted
Fix the rstest example to actually demonstrate correct attribute usage
PiperOrigin-RevId: 727779305
1 parent ece050a commit 40f0b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googletest_macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ fn extract_should_panic_expected(attr: &Attribute) -> Option<String> {
239239
///
240240
/// ```ignore
241241
/// #[rstest]
242-
/// #[gtest]
242+
/// #[googletest::test]
243243
/// fn rstest_with_googletest() -> Result<()> {
244244
/// verify_that!(1, eq(1))
245245
/// }

0 commit comments

Comments
 (0)