Sha256: 571f872da70765446adc94075b2ad2a8097f12936e72c26579c4a34acf24bd3f

Contents?: true

Size: 270 Bytes

Versions: 79

Compression:

Stored size: 270 Bytes

Contents

require 'mocha/backtrace_filter'

module Mocha

  class ExpectationError < StandardError
    
    def initialize(message = nil, backtrace = [])
      super(message)
      filter = BacktraceFilter.new
      set_backtrace(filter.filtered(backtrace))
    end

  end
  
end

Version data entries

79 entries across 79 versions & 10 rubygems

Version Path
dradis-mediawiki-4.14.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.13.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.11.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.10.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.9.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.8.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.7.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.6.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.5.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.4.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.3.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.2.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.1.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-4.0.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-3.22.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-3.21.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-3.20.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-3.19.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-3.18.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
dradis-mediawiki-3.17.0 test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb