Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/examples/020-TestCase-1.cpp
diff options
context:
space:
mode:
authorLeitwolf2026-11-01 01:39:21 +0300
committerGitHub2026-11-01 01:39:21 +0300
commit654b0158978b65caa27925b02aa8a8d228e2f386 (patch)
tree25841e888932ebac3a51c4b59f77cea5a87ae5bd /examples/020-TestCase-1.cpp
parent42c68725c816963ec6529dd635d5aaaac23b1c05 (diff)
parentff1da91edffa9ee887e9fe737fcd87ec540dfa60 (diff)
downloadcatch3-654b0158978b65caa27925b02aa8a8d228e2f386.tar.gz
Merge pull request #26 from Progmasoft/chore/cpp17-descriptions
Say C++17 everywhere the project describes itself
Diffstat (limited to 'examples/020-TestCase-1.cpp')
-rw-r--r--examples/020-TestCase-1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/020-TestCase-1.cpp b/examples/020-TestCase-1.cpp
index 86de07a9..1acdc7a0 100644
--- a/examples/020-TestCase-1.cpp
+++ b/examples/020-TestCase-1.cpp
@@ -18,8 +18,8 @@ TEST_CASE( "1: All test cases reside in other .cpp files (empty)", "[multi-file:
// Here just to show there are two source files via option --list-tests.
// Compile & run:
-// - g++ -std=c++14 -Wall -I$(CATCH_SINGLE_INCLUDE) -c 020-TestCase-1.cpp
-// - g++ -std=c++14 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 020-TestCase TestCase-1.o 020-TestCase-2.cpp && 020-TestCase --success
+// - g++ -std=c++17 -Wall -I$(CATCH_SINGLE_INCLUDE) -c 020-TestCase-1.cpp
+// - g++ -std=c++17 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 020-TestCase TestCase-1.o 020-TestCase-2.cpp && 020-TestCase --success
//
// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% -c 020-TestCase-1.cpp
// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% -Fe020-TestCase.exe 020-TestCase-1.obj 020-TestCase-2.cpp && 020-TestCase --success