Exception: Varar::Core::UnexpectedPassError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/varar/core/execute.rb

Overview

Raised when an expected-to-fail example passes unexpectedly.

Instance Method Summary collapse

Constructor Details

#initialize(message = 'expected the example to fail, but it passed') ⇒ UnexpectedPassError

Returns a new instance of UnexpectedPassError.



14
15
16
# File 'lib/varar/core/execute.rb', line 14

def initialize(message = 'expected the example to fail, but it passed')
  super
end