Skip to content

Commit 4101115

Browse files
Merge pull request #284 from google:fix-panicking-typo
PiperOrigin-RevId: 552556698
2 parents 420a263 + 94f3a5c commit 4101115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googletest/src/assertions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ macro_rules! fail {
302302
() => { fail!("Test failed") };
303303
}
304304

305-
/// Matches the given value against the given matcher, panicing if it does not
305+
/// Matches the given value against the given matcher, panicking if it does not
306306
/// match.
307307
///
308308
/// This is analogous to assertions in most Rust test libraries, where a failed
@@ -322,7 +322,7 @@ macro_rules! assert_that {
322322
}
323323

324324
/// Asserts that the given predicate applied to the given arguments returns
325-
/// true, panicing if it does not.
325+
/// true, panicking if it does not.
326326
#[macro_export]
327327
macro_rules! assert_pred {
328328
($($content:tt)*) => {

0 commit comments

Comments
 (0)