mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Incorporated Clara with TextFlow fix for assertion with consecutive newlines
fixes #1012
This commit is contained in:
parent
3a5b951256
commit
115db71bab
2
include/external/clara.hpp
vendored
2
include/external/clara.hpp
vendored
@ -135,7 +135,7 @@ namespace Catch { namespace clara { namespace TextFlow {
|
||||
|
||||
auto operator *() const -> std::string {
|
||||
assert( m_stringIndex < m_column.m_strings.size() );
|
||||
assert( m_pos < m_end );
|
||||
assert( m_pos <= m_end );
|
||||
if( m_pos + m_column.m_width < m_end )
|
||||
return addIndentAndSuffix(line().substr(m_pos, m_len));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user