mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Incorporated Clara with TextFlow fix for assertion with consecutive newlines
fixes #1012
This commit is contained in:
		
							
								
								
									
										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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash