Skip to content

Commit

Permalink
Move some more language specs over to rubyspec
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Sep 21, 2013
1 parent 21fe33a commit d7628b9
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 1,426 deletions.
26 changes: 26 additions & 0 deletions spec/filters/bugs/language.rb
Expand Up @@ -244,6 +244,32 @@
fails "Invoking a method raises a SyntaxError with both a literal block and an object as block"
fails "Invoking a method with an object as a block uses 'to_proc' for coercion"

fails "Instantiating a singleton class raises a TypeError when allocate is called"
fails "Instantiating a singleton class raises a TypeError when new is called"
fails "Class methods of a singleton class for a singleton class include class methods of the singleton class of Class"
fails "Class methods of a singleton class for a class include instance methods of the singleton class of Class"
fails "Class methods of a singleton class for a class include class methods of Class"
fails "Instance methods of a singleton class for a singleton class includes instance methods of the singleton class of Class"
fails "Defining instance methods on a singleton class define public methods"
fails "A constant on a singleton class is preserved when the object is cloned"
fails "A constant on a singleton class is not preserved when the object is duped"
fails "A constant on a singleton class does not appear in the object's class constant list"
fails "A constant on a singleton class raises a NameError for anonymous_module::CONST"
fails "A constant on a singleton class cannot be accessed via object::CONST"
fails "A constant on a singleton class is not defined in the singleton class opener's scope"
fails "A constant on a singleton class is not defined on the object's class"
fails "A singleton class doesn't have singleton class"
fails "A singleton class for BasicObject has the proper level of superclass for Class"
fails "A singleton class for BasicObject has Class as it's superclass"
fails "A singleton class is a subclass of the same level of superclass's singleton class"
fails "A singleton class is a subclass of a superclass's singleton class"
fails "A singleton class is a subclass of the same level of Class's singleton class"
fails "A singleton class is a subclass of Class's singleton class"
fails "A singleton class inherits from Class for classes"
fails "A singleton class is a singleton Class instance"
fails "A singleton class raises a TypeError for symbols"
fails "A singleton class raises a TypeError for Fixnum's"

fails "The super keyword passes along modified rest args when they were originally empty"
fails "The super keyword passes along modified rest args when they weren't originally empty"
fails "The super keyword sees the included version of a module a method is alias from"
Expand Down
356 changes: 0 additions & 356 deletions spec/rubyspec/language/if_spec.rb

This file was deleted.

1 change: 0 additions & 1 deletion spec/rubyspec/language/literal_lambda_spec.rb

This file was deleted.

0 comments on commit d7628b9

Please sign in to comment.