diff options
| author | Cristian Morales Vega | 2018-05-31 23:21:14 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2018-06-01 22:24:49 +0200 |
| commit | 7abd7db2c8f03cc2e51ea49fff5247ee5e83464b (patch) | |
| tree | d90efe14cbc5d917e7ad49ae83d8d459f2a56546 | |
| parent | 88d7b8da25e9975793099bb4003a6f6729913e70 (diff) | |
| download | catch3-7abd7db2c8f03cc2e51ea49fff5247ee5e83464b.tar.gz | |
Fix minor typo in the documentation
| -rw-r--r-- | docs/assertions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assertions.md b/docs/assertions.md index 187b7ea8..90c0856c 100644 --- a/docs/assertions.md +++ b/docs/assertions.md @@ -162,7 +162,7 @@ Because the preprocessor parses code using different rules than the compiler, multiple-argument assertions (e.g. `REQUIRE_THROWS_AS`) have problems with commas inside the provided expressions. As an example `REQUIRE_THROWS_AS(std::pair<int, int>(1, 2), std::invalid_argument);` -will fails to compile, because the preprocessor sees 3 arguments provided, +will fail to compile, because the preprocessor sees 3 arguments provided, but the macro accepts only 2. There are two possible workarounds. 1) Use typedef: |