Skip to content

Commit

Permalink
Showing 16 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/tags/ruby/core/enumerable/each_cons_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:Enumerable#each_cons raises an Argument Error if there is not a single parameter > 0
fails:Enumerable#each_cons raises an ArgumentError if there is not a single parameter > 0
1 change: 1 addition & 0 deletions spec/tags/ruby/core/enumerable/each_slice_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:Enumerable#each_slice raises an Argument Error if there is not a single parameter > 0
fails:Enumerable#each_slice raises an ArgumentError if there is not a single parameter > 0
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/enumerable/max_by_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:Enumerable#max_by when called with an argument n without a block returns an enumerator
fails:Enumerable#max_by when called with an argument n when n is nil returns the maximum element
1 change: 1 addition & 0 deletions spec/tags/ruby/core/enumerable/max_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#max that is nil returns the maximum element
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/enumerable/min_by_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:Enumerable#min_by when called with an argument n without a block returns an enumerator
fails:Enumerable#min_by when called with an argument n when n is nil returns the minimum element
1 change: 1 addition & 0 deletions spec/tags/ruby/core/enumerable/min_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#min that is nil returns the minimum element
4 changes: 4 additions & 0 deletions spec/tags/ruby/core/enumerable/slice_when_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Enumerable#slice_when when given a block returns an enumerator
fails:Enumerable#slice_when when given a block splits chunks between adjacent elements i and j where the block returns true
fails:Enumerable#slice_when when given a block calls the block for length of the receiver enumerable minus one times
fails:Enumerable#slice_when when not given a block raises an ArgumentError
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/file/birthtime_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:File.birthtime raises an NotImplementedError
fails:File#birthtime raises an NotImplementedError
1 change: 1 addition & 0 deletions spec/tags/ruby/core/file/stat/birthtime_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:File::Stat#birthtime raises an NotImplementedError
1 change: 1 addition & 0 deletions spec/tags/ruby/core/kernel/eval_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fails:Kernel#eval allows a binding to be captured inside an eval
fails:Kernel#eval raises a LocalJumpError if there is no lambda-style closure in the chain
fails:Kernel#eval unwinds through a Proc-style closure and returns from a lambda-style closure in the closure chain
1 change: 1 addition & 0 deletions spec/tags/ruby/core/kernel/throw_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Kernel.throw raises an UncaughtThrowError if there is no catch block for the symbol
1 change: 1 addition & 0 deletions spec/tags/ruby/core/method/curry_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Method#curry with optional arity argument raises ArgumentError when the method requires less arguments than the given arity
17 changes: 17 additions & 0 deletions spec/tags/ruby/core/objectspace/each_object_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
fails:ObjectSpace.each_object calls the block once for each living, non-immediate object in the Ruby process
fails:ObjectSpace.each_object returns an enumerator if not given a block
fails:ObjectSpace.each_object doesn't find an object stored in a WeakRef that should have been cleared
fails:ObjectSpace.each_object finds an object stored in a global variable
fails:ObjectSpace.each_object finds an object stored in a top-level constant
fails:ObjectSpace.each_object finds an object stored in a second-level constant
fails:ObjectSpace.each_object finds an object stored in a local variable
fails:ObjectSpace.each_object finds an object stored in a local variable captured in a block explicitly
fails:ObjectSpace.each_object finds an object stored in a local variable captured in a block implicitly
fails:ObjectSpace.each_object finds an object stored in a local variable captured in a Proc#binding
fails:ObjectSpace.each_object finds an object stored in a local variable captured in a Kernel#binding
fails:ObjectSpace.each_object finds an object stored in a local variable set in a binding manually
fails:ObjectSpace.each_object finds an object stored in an array
fails:ObjectSpace.each_object finds an object stored in a hash key
fails:ObjectSpace.each_object finds an object stored in a hash value
fails:ObjectSpace.each_object finds an object stored in an instance variable
fails:ObjectSpace.each_object finds an object stored in a thread local
fails:ObjectSpace.each_object finds an object stored in a fiber local
fails:ObjectSpace.each_object finds an object captured in an at_exit handler
fails:ObjectSpace.each_object finds an object captured in finalizer
2 changes: 2 additions & 0 deletions spec/tags/ruby/language/block_tags.txt
Original file line number Diff line number Diff line change
@@ -8,3 +8,5 @@ fails:A block yielded a single Array assigns symbol keys from a Hash to keyword
fails:A block yielded a single Array assigns symbol keys from a Hash returned by #to_hash to keyword arguments
fails:A block yielded a single Array calls #to_hash on the argument but does not use the result when no keywords are present
fails:A block yielded a single Array assigns non-symbol keys to non-keyword arguments
fails:Post-args with optional args with a circular argument reference shadows an existing local with the same name as the argument
fails:Post-args with optional args with a circular argument reference shadows an existing method with the same name as the argument
1 change: 1 addition & 0 deletions spec/tags/ruby/language/def_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:An instance method with a default argument does not call a method with the same name as the local
fails:An instance method with a default argument shadows an existing method with the same name as the local
2 changes: 2 additions & 0 deletions spec/tags/ruby/language/lambda_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
fails:A lambda expression 'lambda { ... }' with an implicit block can be created
fails:A lambda literal -> () { } assigns variables from parameters with circular optional argument reference shadows an existing local with the same name as the argument
fails:A lambda literal -> () { } assigns variables from parameters with circular optional argument reference shadows an existing method with the same name as the argument

0 comments on commit b3a6d4f

Please sign in to comment.