mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Fixed a == 1 || b == 2 case
This commit is contained in:
@@ -59,6 +59,14 @@ public:
|
||||
{
|
||||
m_message = message;
|
||||
}
|
||||
|
||||
template<typename RhsT>
|
||||
MutableResultInfo& operator ||( const RhsT& rhs )
|
||||
{
|
||||
// !TBD: set message to say we haven't captured all parts
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
friend class ResultBuilder;
|
||||
@@ -118,6 +126,7 @@ public:
|
||||
{
|
||||
return m_result.setRhs( ">=", toString( rhs ) );
|
||||
}
|
||||
|
||||
operator MutableResultInfo&()
|
||||
{
|
||||
return m_result;
|
||||
|
Reference in New Issue
Block a user