Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add the rubyspec's tags

  • Loading branch information...
commit 72c8fd5b8230cd53829bcfb69ce0b18ce98d25d9 1 parent 6f271a4
@Watson1978 Watson1978 authored
Showing with 136 additions and 0 deletions.
  1. +1 −0  spec/frozen/command_line/dash_a_tags.txt
  2. +1 −0  spec/frozen/command_line/dash_p_tags.txt
  3. +2 −0  spec/frozen/tags/macruby/core/array/rotate_tags.txt
  4. +3 −0  spec/frozen/tags/macruby/core/basicobject/__id__tags.txt
  5. +1 −0  spec/frozen/tags/macruby/core/fixnum/succ_tags.txt
  6. +2 −0  spec/frozen/tags/macruby/core/integer/next_tags.txt
  7. +2 −0  spec/frozen/tags/macruby/core/integer/succ_tags.txt
  8. +2 −0  spec/frozen/tags/macruby/core/kernel/instance_eval_tags.txt
  9. +1 −0  spec/frozen/tags/macruby/core/kernel/taint_tags.txt
  10. +1 −0  spec/frozen/tags/macruby/core/kernel/untaint_tags.txt
  11. +1 −0  spec/frozen/tags/macruby/core/main/include_tags.txt
  12. +66 −0 spec/frozen/tags/macruby/core/marshal/dump_tags.txt
  13. +7 −0 spec/frozen/tags/macruby/core/marshal/load_tags.txt
  14. +7 −0 spec/frozen/tags/macruby/core/marshal/restore_tags.txt
  15. +1 −0  spec/frozen/tags/macruby/core/method/arity_tags.txt
  16. +1 −0  spec/frozen/tags/macruby/core/method/call_tags.txt
  17. +1 −0  spec/frozen/tags/macruby/core/method/element_reference_tags.txt
  18. +2 −0  spec/frozen/tags/macruby/core/method/eql_tags.txt
  19. +2 −0  spec/frozen/tags/macruby/core/method/equal_value_tags.txt
  20. +2 −0  spec/frozen/tags/macruby/core/method/hash_tags.txt
  21. +1 −0  spec/frozen/tags/macruby/core/method/name_tags.txt
  22. +1 −0  spec/frozen/tags/macruby/core/method/owner_tags.txt
  23. +1 −0  spec/frozen/tags/macruby/core/method/parameters_tags.txt
  24. +1 −0  spec/frozen/tags/macruby/core/method/receiver_tags.txt
  25. +1 −0  spec/frozen/tags/macruby/core/method/source_location_tags.txt
  26. +1 −0  spec/frozen/tags/macruby/core/module/define_method_tags.txt
  27. +3 −0  spec/frozen/tags/macruby/core/module/name_tags.txt
  28. 0  spec/frozen/tags/macruby/core/process/daemon_tags.txt
  29. +1 −0  spec/frozen/tags/macruby/core/string/allocate_tags.txt
  30. +1 −0  spec/frozen/tags/macruby/core/string/new_tags.txt
  31. +2 −0  spec/frozen/tags/macruby/core/thread/element_set_tags.txt
  32. +2 −0  spec/frozen/tags/macruby/core/thread/key_tags.txt
  33. +2 −0  spec/frozen/tags/macruby/core/thread/keys_tags.txt
  34. +2 −0  spec/frozen/tags/macruby/core/unboundmethod/hash_tags.txt
  35. +4 −0 spec/frozen/tags/macruby/core/unboundmethod/source_location_tags.txt
  36. +1 −0  spec/frozen/tags/macruby/language/block_tags.txt
  37. +4 −0 spec/frozen/tags/macruby/language/module_tags.txt
  38. +1 −0  spec/frozen/tags/macruby/language/regexp/modifiers_tags.txt
  39. +1 −0  spec/frozen/tags/macruby/library/openstruct/initialize_copy_tags.txt
View
1  spec/frozen/command_line/dash_a_tags.txt
@@ -1 +1,2 @@
fails:The -a command line option runs the code in loop conditional on Kernel.gets()
+fails:The -a command line option sets $-a
View
1  spec/frozen/command_line/dash_p_tags.txt
@@ -1 +1,2 @@
fails:The -p command line option runs the code in loop conditional on Kernel.gets() and prints $_
+fails:The -p command line option sets $-p
View
2  spec/frozen/tags/macruby/core/array/rotate_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#rotate with an argument n raises a TypeError if not passed an integer-like argument
+fails:Array#rotate! with an argument n raises a TypeError if not passed an integer-like argument
View
3  spec/frozen/tags/macruby/core/basicobject/__id__tags.txt
@@ -0,0 +1,3 @@
+fails:BasicObject#__id__ returns an integer
+fails:BasicObject#__id__ returns the same value on all calls to id for a given object
+fails:BasicObject#__id__ returns different values for different objects
View
1  spec/frozen/tags/macruby/core/fixnum/succ_tags.txt
@@ -0,0 +1 @@
+fails:Fixnum#succ overflows a Fixnum to a Bignum
View
2  spec/frozen/tags/macruby/core/integer/next_tags.txt
@@ -0,0 +1,2 @@
+fails:Integer#next overflows a Fixnum to a Bignum
+fails:Integer#next underflows a Bignum to a Fixnum
View
2  spec/frozen/tags/macruby/core/integer/succ_tags.txt
@@ -0,0 +1,2 @@
+fails:Integer#succ overflows a Fixnum to a Bignum
+fails:Integer#succ underflows a Bignum to a Fixnum
View
2  spec/frozen/tags/macruby/core/kernel/instance_eval_tags.txt
@@ -1,2 +1,4 @@
fails:Kernel#instance_eval doesn't pass the object to the block
fails:Kernel#instance_eval treats block-local variables as local to the block
+fails:Kernel#instance_eval yields the object to the block
+fails:Kernel#instance_eval returns nil
View
1  spec/frozen/tags/macruby/core/kernel/taint_tags.txt
@@ -0,0 +1 @@
+fails:Kernel#taint raises RuntimeError on an untainted, frozen object
View
1  spec/frozen/tags/macruby/core/kernel/untaint_tags.txt
@@ -0,0 +1 @@
+fails:Kernel#untaint raises RuntimeError on a tainted, frozen object
View
1  spec/frozen/tags/macruby/core/main/include_tags.txt
@@ -0,0 +1 @@
+fails:main#include in a file loaded with wrapping includes the given Module in the load wrapper
View
66 spec/frozen/tags/macruby/core/marshal/dump_tags.txt
@@ -23,3 +23,69 @@ fails:Marshal.dump dumps a Regexp subclass /i
fails:Marshal.dump dumps a Random
fails:Marshal.dump invokes respond_to? for marshal_dump and _dump on user classes
fails:Marshal.dump attempts to invoke _dump if respond_to? :_dump is true
+fails:Marshal.dump nil returns a binary string
+fails:Marshal.dump 1..2 returns a binary string
+fails:Marshal.dump 1...2 returns a binary string
+fails:Marshal.dump 'a'..'b' returns a binary string
+fails:Marshal.dump Struct returns a binary string
+fails:Marshal.dump Symbol returns a binary string
+fails:Marshal.dump true returns a binary string
+fails:Marshal.dump false returns a binary string
+fails:Marshal.dump String empty returns a binary string
+fails:Marshal.dump String small returns a binary string
+fails:Marshal.dump String big returns a binary string
+fails:Marshal.dump String extended returns a binary string
+fails:Marshal.dump String subclass returns a binary string
+fails:Marshal.dump String subclass extended returns a binary string
+fails:Marshal.dump Symbol small returns a binary string
+fails:Marshal.dump Symbol big returns a binary string
+fails:Marshal.dump Bignum -2**64 returns a binary string
+fails:Marshal.dump Bignum -2**63 returns a binary string
+fails:Marshal.dump Fixnum -2**24 returns a binary string
+fails:Marshal.dump Fixnum -2**16 returns a binary string
+fails:Marshal.dump Fixnum -2**8 returns a binary string
+fails:Marshal.dump Fixnum -123 returns a binary string
+fails:Marshal.dump Fixnum 0 returns a binary string
+fails:Marshal.dump Fixnum 5 returns a binary string
+fails:Marshal.dump Fixnum 2**8 returns a binary string
+fails:Marshal.dump Fixnum 2**16 returns a binary string
+fails:Marshal.dump Fixnum 2**24 returns a binary string
+fails:Marshal.dump Bignum 2**64 returns a binary string
+fails:Marshal.dump Bignum 2**90 returns a binary string
+fails:Marshal.dump Class String returns a binary string
+fails:Marshal.dump Module Marshal returns a binary string
+fails:Marshal.dump Module nested returns a binary string
+fails:Marshal.dump _dump object returns a binary string
+fails:Marshal.dump _dump object extended returns a binary string
+fails:Marshal.dump marshal_dump object returns a binary string
+fails:Marshal.dump Regexp returns a binary string
+fails:Marshal.dump Regexp subclass /i returns a binary string
+fails:Marshal.dump Float 0.0 returns a binary string
+fails:Marshal.dump Float -0.0 returns a binary string
+fails:Marshal.dump Float Infinity returns a binary string
+fails:Marshal.dump Float -Infinity returns a binary string
+fails:Marshal.dump Float 1.0 returns a binary string
+fails:Marshal.dump Hash returns a binary string
+fails:Marshal.dump Hash subclass returns a binary string
+fails:Marshal.dump Array returns a binary string
+fails:Marshal.dump Array subclass returns a binary string
+fails:Marshal.dump Random returns a binary string
+fails:Marshal.dump returns an untrusted string if nested object is untrusted
+fails:Marshal.dump with a Symbol dumps an encoded Symbol
+fails:Marshal.dump with a String dumps a US-ASCII String
+fails:Marshal.dump with a String dumps a UTF-8 String
+fails:Marshal.dump with a String dumps a String in another encoding
+fails:Marshal.dump with a Regexp dumps a Regexp
+fails:Marshal.dump with a Regexp dumps a Regexp with flags
+fails:Marshal.dump with a Regexp dumps a Regexp with instance variables
+fails:Marshal.dump with a Regexp dumps an extended Regexp
+fails:Marshal.dump with a Regexp dumps a Regexp subclass
+fails:Marshal.dump with a Regexp dumps a binary Regexp
+fails:Marshal.dump with a Regexp dumps a UTF-8 Regexp
+fails:Marshal.dump with a Regexp dumps a Regexp in another encoding
+fails:Marshal.dump with an Array dumps an Array with instance variables
+fails:Marshal.dump with a Hash dumps a Hash with a default value
+fails:Marshal.dump with a Hash raises a TypeError with hash having default proc
+fails:Marshal.dump with a Hash dumps a Hash with instance variables
+fails:Marshal.dump with a Hash dumps an Hash subclass with a parameter to initialize
+fails:Marshal.dump with a Struct dumps a Struct with instance variables
View
7 spec/frozen/tags/macruby/core/marshal/load_tags.txt
@@ -6,3 +6,10 @@ fails:Marshal::load loads a Random
fails:Marshal::load returns an untrusted object if source is untrusted
fails:Marshal::load for a Hash preserves hash ivars when hash contains a string having ivar
fails:Marshal::load for a wrapped C pointer loads
+fails:Marshal.load returns an untrusted object if source is untrusted
+fails:Marshal.load loads a 1..2
+fails:Marshal.load loads a 1...2
+fails:Marshal.load loads a 'a'..'b'
+fails:Marshal.load loads a Random
+fails:Marshal.load for a Hash preserves hash ivars when hash contains a string having ivar
+fails:Marshal.load for a wrapped C pointer loads
View
7 spec/frozen/tags/macruby/core/marshal/restore_tags.txt
@@ -0,0 +1,7 @@
+fails:Marshal.restore returns an untrusted object if source is untrusted
+fails:Marshal.restore loads a 1..2
+fails:Marshal.restore loads a 1...2
+fails:Marshal.restore loads a 'a'..'b'
+fails:Marshal.restore loads a Random
+fails:Marshal.restore for a Hash preserves hash ivars when hash contains a string having ivar
+fails:Marshal.restore for a wrapped C pointer loads
View
1  spec/frozen/tags/macruby/core/method/arity_tags.txt
@@ -0,0 +1 @@
+fails:Method#arity for a Method generated by respond_to_missing? returns -1
View
1  spec/frozen/tags/macruby/core/method/call_tags.txt
@@ -0,0 +1 @@
+fails:Method#call for a Method generated by respond_to_missing? it invokes method_missing with the specified arguments and returns the result
View
1  spec/frozen/tags/macruby/core/method/element_reference_tags.txt
@@ -0,0 +1 @@
+fails:Method#[] for a Method generated by respond_to_missing? it invokes method_missing with the specified arguments and returns the result
View
2  spec/frozen/tags/macruby/core/method/eql_tags.txt
@@ -1,3 +1,5 @@
fails:Method#eql? returns true if the two core methods are aliases
fails:Method#eql? returns true for methods defined using the same block/proc
fails:Method#eql? returns true for the same method missing
+fails:Method#eql? missing methods returns true for the same method missing
+fails:Method#eql? missing methods calls respond_to_missing? with true to include private methods
View
2  spec/frozen/tags/macruby/core/method/equal_value_tags.txt
@@ -1,3 +1,5 @@
fails:Method#== returns true if the two core methods are aliases
fails:Method#== returns true for methods defined using the same block/proc
fails:Method#== returns true for the same method missing
+fails:Method#== missing methods returns true for the same method missing
+fails:Method#== missing methods calls respond_to_missing? with true to include private methods
View
2  spec/frozen/tags/macruby/core/method/hash_tags.txt
@@ -0,0 +1,2 @@
+fails:Method#hash returns the same value for user methods that are eql?
+fails:Method#hash returns the same value for builtin methods that are eql?
View
1  spec/frozen/tags/macruby/core/method/name_tags.txt
@@ -0,0 +1 @@
+fails:Method#name for a Method generated by respond_to_missing? it returns the name passed to respond_to_missing?
View
1  spec/frozen/tags/macruby/core/method/owner_tags.txt
@@ -1,2 +1,3 @@
fails:Method#owner returns the owner of the method
fails:Method#owner returns the class/module it was defined in
+fails:Method#owner for a Method generated by respond_to_missing? it returns the owner of the method
View
1  spec/frozen/tags/macruby/core/method/parameters_tags.txt
@@ -34,3 +34,4 @@ fails:Method#parameters returns [[:req, :x], [:req, :y]] for a define_method met
fails:Method#parameters returns [] for a define_method method with no args specification
fails:Method#parameters returns [[:req]] for a define_method method with a grouping as its only argument
fails:Method#parameters returns [[:opt, :x]] for a define_method method with an optional argument 'x'
+fails:Method#parameters it returns [[:rest]] for a Method generated by respond_to_missing?
View
1  spec/frozen/tags/macruby/core/method/receiver_tags.txt
@@ -0,0 +1 @@
+fails:Method#receiver for a Method generated by respond_to_missing? it returns the receiver of the method
View
1  spec/frozen/tags/macruby/core/method/source_location_tags.txt
@@ -9,3 +9,4 @@ fails:Method#source_location works for methods defined with a block
fails:Method#source_location works for methods defined with a Method
fails:Method#source_location works for methods defined with an UnboundMethod
fails:Method#source_location works for methods whose visibility has been overridden in a subclass
+fails:Method#source_location for a Method generated by respond_to_missing? it returns nil
View
1  spec/frozen/tags/macruby/core/module/define_method_tags.txt
@@ -5,3 +5,4 @@ fails:Module#define_method passed { |a, *b| } creates a method that raises an A
fails:Module#define_method passed { |a, b, *c| } creates a method that raises an ArgumentError when passed zero arguments
fails:Module#define_method passed { |a, b, *c| } creates a method that raises an ArgumentError when passed one argument
fails:Module#define_method passed { |a, b, *c| } creates a method that raises an ArgumentError when passed one argument and a block
+fails:Module#define_method raises a RuntimeError if frozen
View
3  spec/frozen/tags/macruby/core/module/name_tags.txt
@@ -0,0 +1,3 @@
+fails:Module#name is nil for a nested module created with the module keyword
+fails:Module#name is set with a conditional assignment to a nested constant
+fails:Module#name is set with a conditional assignment to a constant
View
0  spec/frozen/tags/macruby/core/process/daemon_tags.txt
No changes.
View
1  spec/frozen/tags/macruby/core/string/allocate_tags.txt
@@ -0,0 +1 @@
+fails:String.allocate returns a binary String
View
1  spec/frozen/tags/macruby/core/string/new_tags.txt
@@ -0,0 +1 @@
+fails:String.new returns a binary String
View
2  spec/frozen/tags/macruby/core/thread/element_set_tags.txt
@@ -0,0 +1,2 @@
+fails:Thread#[]= is not shared across fibers
+fails:Thread#[]= stores a local in another thread when in a fiber
View
2  spec/frozen/tags/macruby/core/thread/key_tags.txt
@@ -0,0 +1,2 @@
+fails:Thread#key? is not shared across fibers
+fails:Thread#key? stores a local in another thread when in a fiber
View
2  spec/frozen/tags/macruby/core/thread/keys_tags.txt
@@ -0,0 +1,2 @@
+fails:Thread#keys is not shared across fibers
+fails:Thread#keys stores a local in another thread when in a fiber
View
2  spec/frozen/tags/macruby/core/unboundmethod/hash_tags.txt
@@ -0,0 +1,2 @@
+fails:UnboundMethod#hash returns the same value for user methods that are eql?
+fails:UnboundMethod#hash returns the same value for builtin methods that are eql?
View
4 spec/frozen/tags/macruby/core/unboundmethod/source_location_tags.txt
@@ -1,2 +1,6 @@
fails:UnboundMethod#source_location works for define_method methods
fails:UnboundMethod#source_location works for define_singleton_method methods
+fails:UnboundMethod#source_location sets the first value to the path of the file in which the method was defined
+fails:UnboundMethod#source_location sets the last value to a Fixnum representing the line on which the method was defined
+fails:UnboundMethod#source_location returns the last place the method was defined
+fails:UnboundMethod#source_location returns the location of the original method even if it was aliased
View
1  spec/frozen/tags/macruby/language/block_tags.txt
@@ -8,3 +8,4 @@ fails:A block taking |a, *b| arguments raises an TypeError if #to_ary does not r
fails:A block taking |a, | arguments calls #to_ary to convert a single yielded object to an Array
fails:A block taking |a, | arguments raises an TypeError if #to_ary does not return an Array
fails:A block taking |(a, b), c| arguments calls #to_ary to convert a single yielded object to an Array
+fails:Post-args are required
View
4 spec/frozen/tags/macruby/language/module_tags.txt
@@ -1,3 +1,7 @@
fails:module raises a TypeError if the constant is a class
fails:An anonymous module takes on the name of the first constant it is assigned to
fails:An anonymous module forces named nested modules to be anonymous
+fails:The module keyword creates a new module with a non-qualified constant name
+fails:The module keyword creates a new module with a qualified constant name
+fails:The module keyword creates a new module with a variable qualified constant name
+fails:The module keyword raises a TypeError if the constant is a Class
View
1  spec/frozen/tags/macruby/language/regexp/modifiers_tags.txt
@@ -2,3 +2,4 @@ fails:Regexps with modifers supports /o (once)
fails:Regexps with modifers invokes substitutions for /o only once
fails:Regexps with modifers supports (?imx-imx) (inline modifiers)
fails:Regexps with modifers supports (?imx-imx:expr) (scoped inline modifiers)
+fails:Regexps with modifers raises SyntaxError for ASII/Unicode modifiers
View
1  spec/frozen/tags/macruby/library/openstruct/initialize_copy_tags.txt
@@ -0,0 +1 @@
+fails:OpenStruct#initialize_copy generates the same methods
Please sign in to comment.
Something went wrong with that request. Please try again.