Skip to content

Commit b623956

Browse files
bjacotgcopybara-github
authored andcommitted
Fix typo in #[test] documentation
PiperOrigin-RevId: 690504253
1 parent a4c41e3 commit b623956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googletest_macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ pub fn gtest(
191191
///
192192
/// Generally, prefer using `#[gtest]` to mark googletest-based tests.
193193
///
194-
/// Use `#[gtest]` instead of `#[gtest]` to satisfy compatibility
194+
/// Use `#[test]` instead of `#[gtest]` to satisfy compatibility
195195
/// requirements. For example, the rstest crate can be composed with other test
196196
/// attributes but it requires the attribute to be named `test`.
197197
///

0 commit comments

Comments
 (0)