Sha256: 1d15068e234ae9b5ccba6552a5cd6c5a8e6143514924386b00bc9e2dec3bfda5

Contents?: true

Size: 748 Bytes

Versions: 272

Compression:

Stored size: 748 Bytes

Contents

#--
#
# Author:: Nathaniel Talbott.
# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
# License:: Ruby license.

module Test
  module Unit

    # Thrown by Test::Unit::Assertions when an assertion fails.
    class AssertionFailedError < StandardError
      attr_accessor :expected, :actual, :user_message
      attr_accessor :inspected_expected, :inspected_actual
      def initialize(message=nil, options=nil)
        options ||= {}
        @expected = options[:expected]
        @actual = options[:actual]
        @inspected_expected = options[:inspected_expected]
        @inspected_actual = options[:inspected_actual]
        @user_message = options[:user_message]
        super(message)
      end
    end
  end
end

Version data entries

272 entries across 226 versions & 20 rubygems

Version Path
postfinancecheckout-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
whitelabelmachinename-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
wallee-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
wallee-ruby-sdk-3.1.3 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
whitelabelmachinename-ruby-sdk-3.1.3 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
whitelabelmachinename-ruby-sdk-3.1.2 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
wallee-ruby-sdk-3.1.2 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
wallee-ruby-sdk-3.1.1 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
rhodes-7.5.1 spec/framework_spec/extensions/test-libs/test/unit/assertionfailederror.rb
whitelabelmachinename-ruby-sdk-3.0.6 vendor/bundle/ruby/2.7.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test/unit/assertion-failed-error.rb
rhodes-7.4.1 spec/framework_spec/extensions/test-libs/test/unit/assertionfailederror.rb
test-unit-3.4.5 lib/test/unit/assertion-failed-error.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.4/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test/unit/assertion-failed-error.rb
test-unit-3.4.4 lib/test/unit/assertion-failed-error.rb
test-unit-3.4.3 lib/test/unit/assertion-failed-error.rb
test-unit-3.4.2 lib/test/unit/assertion-failed-error.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.1/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/test-unit-3.3.8/lib/test/unit/assertion-failed-error.rb