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
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/test-unit-3.3.7/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/test-unit-3.4.0/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
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.7/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/2.7.0/gems/test-unit-3.4.0/lib/test/unit/assertion-failed-error.rb
win32-api-1.10.1 vendor/bundle/ruby/2.5.0/gems/test-unit-3.3.4/lib/test/unit/assertion-failed-error.rb
win32-api-1.10.1 vendor/bundle/ruby/2.7.0/gems/test-unit-3.3.5/lib/test/unit/assertion-failed-error.rb
win32-api-1.10.1 vendor/bundle/ruby/2.5.0/gems/test-unit-3.3.5/lib/test/unit/assertion-failed-error.rb
win32-api-1.10.1 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.1/lib/test/unit/assertion-failed-error.rb
test-unit-3.4.1 lib/test/unit/assertion-failed-error.rb
win32-api-1.10.0 vendor/bundle/ruby/2.5.0/gems/test-unit-3.3.5/lib/test/unit/assertion-failed-error.rb
win32-api-1.10.0 vendor/bundle/ruby/2.5.0/gems/test-unit-3.3.4/lib/test/unit/assertion-failed-error.rb
win32-api-1.10.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.3.5/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.0/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.0/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/test-unit-3.3.7/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/test-unit-3.3.8/lib/test/unit/assertion-failed-error.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/test-unit-3.3.7/lib/test/unit/assertion-failed-error.rb
test-unit-3.4.0 lib/test/unit/assertion-failed-error.rb