diff --git a/include/external/clara.hpp b/include/external/clara.hpp index 091c2fa8..4abcd16f 100644 --- a/include/external/clara.hpp +++ b/include/external/clara.hpp @@ -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