Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Option and Result matchers

googletest comes with a few special matchers for Option and Result that return good error messages when something that should be Some or Ok is actually None or Err, and vice-versa.

Exercise

The exercise for this section is located in 01_better_assertions/04_options_and_results