You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tau-primer.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,9 +104,13 @@ We recommend using `CHECK`s over `ASSERT`s unless it doesn't make sense to conti
104
104
### Adding Custom Failure Messages
105
105
We highly recommend you add a custom failure message for your macros - it makes it easier to track down bugs. `Invalid Type ID:` is much more useful than `FAILED`, which is what Tau prints by default.
106
106
107
+
The message can be a printf format string. This is pretty useful when you do the test in a loop. You can quickly know which iteration of the loop failed.
0 commit comments