Skip to content

Commit

Permalink
Fix the tests for Catch2-v2 and Catch2-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
siebenschlaefer committed Feb 23, 2024
1 parent 6342754 commit 720a709
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion exercises/practice/dnd-character/dnd_character_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@

#include <sstream>

using namespace Catch;
using namespace Catch::Matchers;

template <typename T>
class IsBetweenMatcher : public Catch::MatcherBase<T> {
class IsBetweenMatcher : public MatcherBase<T> {
T m_begin, m_end;
public:
IsBetweenMatcher(T begin, T end) :
Expand Down

0 comments on commit 720a709

Please sign in to comment.