struct Spectator::Matchers::FailedMatchData
Overview
Information about a failed match.
Defined in:
spectator/matchers/failed_match_data.crConstructors
- 
        .new(description, failure_message : String, values : Array(Tuple(Symbol, String)))
        
          Creates the match data. 
- 
        .new(description, failure_message : String, **values)
        
          Creates the match data. 
Instance Method Summary
- 
        #failure_message : String
        
          Description from the matcher as to why it failed. 
- 
        #matched? : Bool
        
          Indicates that the match failed. 
- 
        #values : Array(Tuple(Symbol, String))
        
          Additional information from the match that can be used to debug the problem. 
Instance methods inherited from struct Spectator::Matchers::MatchData
  
  
    
      description : String
    description, 
    
  
    
      matched? : Bool
    matched?
    
  
    
  Constructor methods inherited from struct Spectator::Matchers::MatchData
  
  
    
      new(description : String)
    new
    
  
    
  
    
    
    
  
    
    
    
  
    
  Instance methods inherited from class Object
  
  
    
      should(matcher, message = nil)
    should, 
    
  
    
      should_eventually(matcher, message = nil)
    should_eventually, 
    
  
    
      should_never(matcher, message = nil)
    should_never, 
    
  
    
      should_not(matcher, message = nil)
    should_not
    
  
    
    
  
Constructor Detail
        
        def self.new(description, failure_message : String, values : Array(Tuple(Symbol, String)))
        #
      
      
        Creates the match data.
Instance Method Detail
        
        def values : Array(Tuple(Symbol, String))
        #
      
      
        Additional information from the match that can be used to debug the problem.