fix some typos (#72) · martinmoene/lest@14fa8ee (original) (raw)
5 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -3,7 +3,7 @@ Contributed software | ||
3 | 3 | |
4 | 4 | This folder contains extensions to *lest*. These extensions are not part of *lest* itself because for example they use non-standard behaviour, they are considered to be for a too-specific use case, or they are considered not yet ripe for inclusion in *lest* and we first like to gain more experience with them. |
5 | 5 | |
6 | -Availabe extensions: | |
6 | +Available extensions: | |
7 | 7 | - [Expect abort assertions](lest_expect_abort/Readme.md) by Martin Moene. |
8 | 8 | This extension lets you assert assertions and other calls to `abort()`. |
9 | 9 | - [Expect assert assertions](lest_expect_assert/Readme.md) by Martin Moene. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -77,9 +77,9 @@ All 1 selected test passed. | ||
77 | 77 | |
78 | 78 | Notes |
79 | 79 | ----- |
80 | -[1] A previous version of this extension used `setjmp()` and `longjmp()` for flow control. However this mechanism [doesn't mix well with C++](http://stackoverflow.com/a/1376099/437272) as it completely subverts stack unwinding and thus exception handling and object desctruction. | |
80 | +[1] A previous version of this extension used `setjmp()` and `longjmp()` for flow control. However this mechanism [doesn't mix well with C++](http://stackoverflow.com/a/1376099/437272) as it completely subverts stack unwinding and thus exception handling and object destruction. | |
81 | 81 | |
82 | -[2] Visual C++ 14 (Visual Studio 2015) does not let you `#define noexcept /*emty*/`. Besides it would be hard to also hide noexcept expressions. | |
82 | +[2] Visual C++ 14 (Visual Studio 2015) does not let you `#define noexcept /*empty*/`. Besides it would be hard to also hide noexcept expressions. | |
83 | 83 | |
84 | 84 | |
85 | 85 | Appendix A: Test specification |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -75,9 +75,9 @@ All 1 selected test passed. | ||
75 | 75 | |
76 | 76 | Notes |
77 | 77 | ----- |
78 | -[1] A previous version of this extension used `setjmp()` and `longjmp()` for flow control. However this mechanism [doesn't mix well with C++](http://stackoverflow.com/a/1376099/437272) as it completely subverts stack unwinding and thus exception handling and object desctruction. | |
78 | +[1] A previous version of this extension used `setjmp()` and `longjmp()` for flow control. However this mechanism [doesn't mix well with C++](http://stackoverflow.com/a/1376099/437272) as it completely subverts stack unwinding and thus exception handling and object destruction. | |
79 | 79 | |
80 | -[2] Visual C++ 14 (Visual Studio 2015) does not let you `#define noexcept /*emty*/`. Besides it would be hard to also hide noexcept expressions. | |
80 | +[2] Visual C++ 14 (Visual Studio 2015) does not let you `#define noexcept /*empty*/`. Besides it would be hard to also hide noexcept expressions. | |
81 | 81 | |
82 | 82 | |
83 | 83 | Appendix A: Test specification |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -13,7 +13,7 @@ | ||
13 | 13 | // Catch-lest translation: |
14 | 14 | |
15 | 15 | // Notes: |
16 | -// - TEST() ans SCENARIO() require c-string literals to concatenate description and tag (if any). | |
16 | +// - TEST() and SCENARIO() require c-string literals to concatenate description and tag (if any). | |
17 | 17 | // - There's no direct equivalent for CHECK() variations; REQUIRE is used. |
18 | 18 | |
19 | 19 | #if !defined( ex_WARN_IF_NOT_IMPLEMENTED ) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -238,7 +238,7 @@ std::ostream & operator<<( std::ostream & os, logic_t x ) | ||
238 | 238 | { |
239 | 239 | return os << "[logic_t:" << x.value << "]"; |
240 | 240 | } |
241 | -} // anonymous namepace | |
241 | +} // anonymous namespace | |
242 | 242 | |
243 | 243 | CASE( "Expect succeeds for comparison that yields user-defined type that (explicitly) converts to bool" ) |
244 | 244 | { |