Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Untagged a bunch of passing specs.
- Loading branch information
Showing
15 changed files
with
0 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:NameError is a superclass of NoMethodError | ||
fails:NameError.new NameError.new should take optional name argument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |