Skip to content

Commit

Permalink
Update Catch2 to v2.13.9. Remove sprintf
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve committed Jun 1, 2023
1 parent 22ce17b commit 7dc85fc
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 72 deletions.
5 changes: 4 additions & 1 deletion external_codes/catch/Readme
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ C++ Unit test framework
https://github.com/catchorg/Catch2

The single include file is downloaded from here:
https://github.com/catchorg/Catch2/releases/download/v2.4.2/catch.hpp
https://github.com/catchorg/Catch2/releases/download/v2.13.9/catch.hpp

This patch was applied to eliminate warnings from sprintf
https://github.com/catchorg/Catch2/commit/0e2895934cf778f3bd7e84b3df10dac81d4ef7e3

The default value of m_scale in Approx was changed from 0.0 to 1.0 to match the
original Catch behavior, and to avoid adding .scale(1.0) all over the code.
Expand Down
Loading

0 comments on commit 7dc85fc

Please sign in to comment.