diff options
| author | Phil Nash | 2015-07-01 07:33:27 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-07-01 07:33:27 +0100 |
| commit | 805de43a3dfc14b03927afb66d3856e9a72eaa64 (patch) | |
| tree | 8da45605387b80b4128cd1e3b465d7280f89ed90 /projects/SelfTest/TestMain.cpp | |
| parent | 3b18d9e962835100d7e12ac80d22882e408e40dc (diff) | |
| download | catch3-805de43a3dfc14b03927afb66d3856e9a72eaa64.tar.gz | |
Use CATCH_NULL instead of NULL
- expands to nullptr if CATCH_CONFIG_CPP11_NULLPTR is defined (see #444)
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
| -rw-r--r-- | projects/SelfTest/TestMain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp index 7cb7ca42..dae87f0c 100644 --- a/projects/SelfTest/TestMain.cpp +++ b/projects/SelfTest/TestMain.cpp @@ -39,7 +39,7 @@ std::string parseIntoConfigAndReturnError( const char * (&argv)[size], Catch::Co return ""; } -inline Catch::TestCase fakeTestCase( const char* name, const char* desc = "" ){ return Catch::makeTestCase( NULL, "", name, desc, CATCH_INTERNAL_LINEINFO ); } +inline Catch::TestCase fakeTestCase( const char* name, const char* desc = "" ){ return Catch::makeTestCase( CATCH_NULL, "", name, desc, CATCH_INTERNAL_LINEINFO ); } TEST_CASE( "Process can be configured on command line", "[config][command-line]" ) { |