Skip to content

Commit

Permalink
Raise abort after for doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilDohne committed Mar 8, 2024
1 parent 6f57054 commit 3f1fa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhotoshopTest/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int main()
doctest::Context context;

// set defaults
context.setOption("abort-after", 5); // stop test execution after 5 failed assertions
context.setOption("abort-after", 9999); // stop test execution after 5 failed assertions

int res = context.run(); // run

Expand Down

0 comments on commit 3f1fa2f

Please # to comment.