Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b0488b8c1aea
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 33d08513af6b
Choose a head ref
  • 2 commits
  • 22 files changed
  • 1 contributor

Commits on Sep 29, 2015

  1. [Truffle] Add new specs tags.

    eregon committed Sep 29, 2015
    Copy the full SHA
    fbb55c5 View commit details
  2. Copy the full SHA
    33d0851 View commit details
1 change: 0 additions & 1 deletion spec/jruby.2.2.mspec
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@ class MSpecScript
# Core library specs
set :core, [
SPEC_DIR + '/core',
'^' + SPEC_DIR + '/core/continuation'
]

set :fast, [
6 changes: 6 additions & 0 deletions spec/truffle/tags/core/basicobject/method_missing_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fails:BasicObject#method_missing for a Module with #method_missing defined is called when a protected method is called
fails:BasicObject#method_missing for a Module with #method_missing defined is called when a private method is called
fails:BasicObject#method_missing for a Class with #method_missing defined is called when an protected method is called
fails:BasicObject#method_missing for a Class with #method_missing defined is called when an private method is called
fails:BasicObject#method_missing for an instance with #method_missing defined is called when an protected method is called
fails:BasicObject#method_missing for an instance with #method_missing defined is called when an private method is called
1 change: 1 addition & 0 deletions spec/truffle/tags/core/binding/receiver_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Binding#receiver returns the object to which binding is bound
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/enumerable/max_by_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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 with a block returns an array containing the maximum n elements based on the block's value
fails:Enumerable#max_by when called with an argument n with a block on a enumerable of length x where x < n returns an array containing the maximum n elements of length n
fails:Enumerable#max_by when called with an argument n when n is nil returns the maximum element
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/enumerable/max_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Enumerable#max when called with an argument n without a block returns an array containing the maximum n elements
fails:Enumerable#max when called with an argument n with a block returns an array containing the maximum n elements
fails:Enumerable#max when called with an argument n on a enumerable of length x where x < n returns an array containing the maximum n elements of length x
fails:Enumerable#max that is nil returns the maximum element
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/enumerable/min_by_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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 with a block returns an array containing the minimum n elements based on the block's value
fails:Enumerable#min_by when called with an argument n with a block on a enumerable of length x where x < n returns an array containing the minimum n elements of length n
fails:Enumerable#min_by when called with an argument n when n is nil returns the minimum element
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/enumerable/min_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Enumerable#min when called with an argument n without a block returns an array containing the minimum n elements
fails:Enumerable#min when called with an argument n with a block returns an array containing the minimum n elements
fails:Enumerable#min when called with an argument n on a enumerable of length x where x < n returns an array containing the minimum n elements of length x
fails:Enumerable#min that is nil returns the minimum element
6 changes: 6 additions & 0 deletions spec/truffle/tags/core/enumerable/slice_after_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fails:Enumerable#slice_after raises an ArgumentError when given an incorrect number of arguments
fails:Enumerable#slice_after when given an argument and no block calls === on the argument to determine when to yield
fails:Enumerable#slice_after when given an argument and no block doesn't yield an empty array if the filter matches the first entry or the last entry
fails:Enumerable#slice_after when given an argument and no block uses standard boolean as a test
fails:Enumerable#slice_after when given a block and no argument calls the block to determine when to yield
fails:Enumerable#slice_after when given a block and an argument raises an ArgumentError
4 changes: 4 additions & 0 deletions spec/truffle/tags/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/truffle/tags/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/truffle/tags/core/file/flock_tags.txt
Original file line number Diff line number Diff line change
@@ -2,3 +2,4 @@ fails:File#flock blocks if trying to lock an exclusively locked file
fails:File#flock returns 0 if trying to lock a non-exclusively locked file
fails:File#flock fails with EBADF acquiring exclusive lock on read-only File
fails:File#flock fails with EBADF acquiring shared lock on read-only File
slow:File#flock returns false if trying to lock an exclusively locked file
1 change: 1 addition & 0 deletions spec/truffle/tags/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
7 changes: 7 additions & 0 deletions spec/truffle/tags/core/float/next_float_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fails:Float#next_float returns a float the smallest possible step greater than the receiver
fails:Float#next_float steps directly between MAX and INFINITY
fails:Float#next_float steps directly between 1.0 and 1.0 + EPSILON
fails:Float#next_float steps directly between -1.0 and -1.0 + EPSILON/2
fails:Float#next_float reverses the effect of prev_float
fails:Float#next_float returns negative zero when stepping upward from just below zero
fails:Float#next_float returns NAN if NAN was the receiver
7 changes: 7 additions & 0 deletions spec/truffle/tags/core/float/prev_float_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fails:Float#prev_float returns a float the smallest possible step smaller than the receiver
fails:Float#prev_float steps directly between MAX and INFINITY
fails:Float#prev_float steps directly between 1.0 and 1.0 - EPSILON/2
fails:Float#prev_float steps directly between -1.0 and -1.0 - EPSILON
fails:Float#prev_float reverses the effect of next_float
fails:Float#prev_float returns positive zero when stepping downward from just above zero
fails:Float#prev_float returns NAN if NAN was the receiver
1 change: 1 addition & 0 deletions spec/truffle/tags/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
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/method/curry_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Method#curry returns a curried proc
fails:Method#curry with optional arity argument returns a curried proc when given correct arity
fails:Method#curry with optional arity argument raises ArgumentError when the method requires less arguments than the given arity
fails:Method#curry with optional arity argument raises ArgumentError when the method requires more arguments than the given arity
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/method/super_method_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Method#super_method returns the method that would be called by super in the method
fails:Method#super_method returns nil when there's no super method in the parent
fails:Method#super_method returns nil when the parent's method is removed
1 change: 1 addition & 0 deletions spec/truffle/tags/core/proc/curry_tags.txt
Original file line number Diff line number Diff line change
@@ -20,3 +20,4 @@ fails:Proc#curry with arity argument can be specified multiple times on the same
fails:Proc#curry with arity argument raises an ArgumentError if passed more than _arity_ arguments when created from a lambda
fails:Proc#curry with arity argument returns Procs with arities of -1 regardless of the value of _arity_
fails:Proc#curry combines arguments and calculates incoming arity accurately for successively currying
fails:Proc#curry with arity argument raises an ArgumentError if called on a lambda that requires fewer than _arity_ arguments
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/unboundmethod/super_method_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:UnboundMethod#super_method returns the method that would be called by super in the method
fails:UnboundMethod#super_method returns nil when there's no super method in the parent
fails:UnboundMethod#super_method returns nil when the parent's method is removed
1 change: 1 addition & 0 deletions spec/truffle/tags/language/block_tags.txt
Original file line number Diff line number Diff line change
@@ -21,3 +21,4 @@ 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 method with the same name as the argument
1 change: 1 addition & 0 deletions spec/truffle/tags/language/def_tags.txt
Original file line number Diff line number Diff line change
@@ -5,3 +5,4 @@ fails:A method definition in an eval creates an instance method
fails:A method definition in an eval creates a class method
fails:A method definition in an eval creates a singleton method
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
1 change: 1 addition & 0 deletions spec/truffle/tags/language/lambda_tags.txt
Original file line number Diff line number Diff line change
@@ -18,3 +18,4 @@ fails:"A lambda expression 'lambda { ... }' assigns variables from parameters fo
fails:"A lambda expression 'lambda { ... }' assigns variables from parameters for definition \n @a = lambda do |a, b=1, *c, d, e:, f: 2, g:, **k, &l|\n [a, b, c, d, e, f, g, k, l]\n end"
fails:"A lambda literal -> () { } assigns variables from parameters for definition \n @a = -> (**) { }"
fails:"A lambda literal -> () { } assigns variables from parameters for definition \n @a = -> (a, b) { [a, b] }"
fails:A lambda literal -> () { } assigns variables from parameters with circular optional argument reference shadows an existing method with the same name as the argument