Skip to content
Permalink
Browse files
[Truffle] Untagged a bunch of passing specs.
  • Loading branch information
nirvdrum committed Feb 26, 2015
1 parent 3ccd945 commit 8d94380a0b04d368ae90b2679923130df35fae4f
@@ -1,10 +1,2 @@
fails:Exception#backtrace returns nil if no backtrace was set
fails:Exception#backtrace returns an Array
fails:Exception#backtrace sets each element to a String
fails:Exception#backtrace includes the filename of the location where self raised in the first element
fails:Exception#backtrace includes the line number of the location where self raised in the first element
fails:Exception#backtrace includes the name of the method from where self raised in the first element
fails:Exception#backtrace includes the filename of the location immediately prior to where self raised in the second element
fails:Exception#backtrace includes the line number of the location immediately prior to where self raised in the second element
fails:Exception#backtrace contains lines of the same format for each prior position in the stack
fails:Exception#backtrace when redefined does not affect the behaviour of Exception#message
@@ -1,10 +1,8 @@
fails:Exception#== returns true if both exceptions are the same object
fails:Exception#== returns true if one exception is the dup'd copy of the other
fails:Exception#== returns true if both exceptions have the same class, no message, and no backtrace
fails:Exception#== returns true if both exceptions have the same class, the same message, and no backtrace
fails:Exception#== returns true if both exceptions have the same class, the same message, and the same backtrace
fails:Exception#== returns false if the two exceptions inherit from Exception but have different classes
fails:Exception#== returns true if the two objects subclass Exception and have the same message and backtrace
fails:Exception#== returns false if the argument is not an Exception
fails:Exception#== returns false if the two exceptions differ only in their backtrace
fails:Exception#== returns false if the two exceptions differ only in their message
@@ -2,13 +2,6 @@ fails:Exception.exception creates a new instance of Exception
fails:Exception.exception sets the message of the Exception when passes a message
fails:Exception.exception returns 'Exception' for message when no message given
fails:Exception.exception returns the exception when it has a custom constructor
fails:Exception is a Class
fails:Exception is a superclass of NoMemoryError
fails:Exception is a superclass of ScriptError
fails:Exception is a superclass of SignalException
fails:Exception is a superclass of Interrupt
fails:Exception is a superclass of StandardError
fails:Exception is a superclass of SystemExit
fails:Exception is a superclass of SystemStackError
fails:Exception is a superclass of SecurityError
fails:Exception is a superclass of EncodingError
@@ -1,3 +1,2 @@
fails:Exception#message returns the class name if there is no message
fails:Exception#message returns the message passed to #initialize
fails:Exception#message calls #to_s on self
@@ -1,2 +1 @@
fails:NameError is a superclass of NoMethodError
fails:NameError.new NameError.new should take optional name argument
@@ -1,4 +1 @@
fails:Exception.new creates a new instance of Exception
fails:Exception.new sets the message of the Exception when passes a message
fails:Exception.new returns 'Exception' for message when no message given
fails:Exception.new returns the exception when it has a custom constructor
@@ -1,6 +1,3 @@
fails:NoMethodError.new allows passing method args
fails:NoMethodError#args returns an empty array if the caller method had no arguments
fails:NoMethodError#args returns an array with the same elements as passed to the method
fails:NoMethodError#message for an undefined method match /undefined method/
fails:NoMethodError#message for an protected method match /protected method/
fails:NoMethodError#message for private method match /private method/

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,3 +1,2 @@
fails:ScriptError is a superclass of LoadError
fails:ScriptError is a superclass of NotImplementedError
fails:ScriptError is a superclass of SyntaxError
@@ -6,5 +6,4 @@ fails:SignalException.new raises an exception with an invalid signal name
fails:SignalException.new takes a signal symbol without SIG prefix as the first argument
fails:SignalException.new takes a signal symbol with SIG prefix as the first argument
fails:SignalException.new takes an optional message argument with a signal number
fails:SignalException.new raises an exception for an optional argument with a signal name
fails:rescueing SignalException raises a SignalException when sent a signal
@@ -1,2 +1 @@
fails:Symbol#to_proc raises an ArgumentError when calling #call on the Proc without receiver
fails:Symbol#to_proc passes along the block passed to Proc#call
@@ -1,7 +1,2 @@
fails:UnboundMethod#bind raises TypeError if object is not kind_of? the Module the method defined in
fails:UnboundMethod#bind returns Method for any object that is kind_of? the Module method was extracted from
fails:UnboundMethod#bind returns Method on any object when UnboundMethod is unbound from a module
fails:UnboundMethod#bind Method returned for obj is equal to one directly returned by obj.method
fails:UnboundMethod#bind returns a callable method
fails:UnboundMethod#bind binds a Parent's class method to any Child's class methods
fails:UnboundMethod#bind will raise when binding a an object singleton's method to another object
@@ -1,11 +1,4 @@
fails:Creating UnboundMethods there is no difference between Method#unbind and Module#instance_method
fails:UnboundMethod#== returns true if objects refer to the same method
fails:UnboundMethod#== returns true if either is an alias for the other
fails:UnboundMethod#== returns true if both are aliases for a third method
fails:UnboundMethod#== returns true if same method is extracted from the same subclass
fails:UnboundMethod#== returns false if UnboundMethods are different methods
fails:UnboundMethod#== returns false if both have identical body but are not the same
fails:UnboundMethod#== returns false if same method but one extracted from a subclass
fails:UnboundMethod#== returns false if same method but extracted from two different subclasses
fails:UnboundMethod#== returns false if methods are the same but added from an included Module
fails:UnboundMethod#== returns false if both have same Module, same name, identical body but not the same

0 comments on commit 8d94380

Please sign in to comment.