diff options
| author | Martin Hořeňovský | 2017-01-26 23:13:12 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-01-26 23:13:12 +0100 |
| commit | c390c4cb9f9ae384451a5b8cda08aebf34407207 (patch) | |
| tree | 79cb91867deabac9974094a6b2323ea8b8f2a2f4 /projects/SelfTest/TestMain.cpp | |
| parent | 60a9ac7e65a57d82a92eebb7c8c6c1111a75897e (diff) | |
| download | catch3-c390c4cb9f9ae384451a5b8cda08aebf34407207.tar.gz | |
Fixed inconsistent and trailing whitespace
This means that all tabs used in indentation are now 4 spaces and that
there should be no more trailing whitespace.
Ill also look into creating a pre-commit hook that will prevent this
from happening in the future.
Fixes #105
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
| -rw-r--r-- | projects/SelfTest/TestMain.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp index db506688..2a1769c3 100644 --- a/projects/SelfTest/TestMain.cpp +++ b/projects/SelfTest/TestMain.cpp @@ -196,13 +196,13 @@ TEST_CASE( "Process can be configured on command line", "[config][command-line]" } SECTION( "use-colour", "") { - + using Catch::UseColour; - + SECTION( "without option", "" ) { const char* argv[] = { "test" }; CHECK_NOTHROW( parseIntoConfig( argv, config ) ); - + REQUIRE( config.useColour == UseColour::Auto ); } @@ -216,14 +216,14 @@ TEST_CASE( "Process can be configured on command line", "[config][command-line]" SECTION( "yes", "" ) { const char* argv[] = { "test", "--use-colour", "yes" }; CHECK_NOTHROW( parseIntoConfig( argv, config ) ); - + REQUIRE( config.useColour == UseColour::Yes ); } SECTION( "no", "" ) { const char* argv[] = { "test", "--use-colour", "no" }; CHECK_NOTHROW( parseIntoConfig( argv, config ) ); - + REQUIRE( config.useColour == UseColour::No ); } |