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