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: 063e4894be4e
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 750d26646a21
Choose a head ref
  • 2 commits
  • 15 files changed
  • 1 contributor

Commits on Oct 29, 2016

  1. [Truffle] Add new spec tags.

    eregon committed Oct 29, 2016
    Copy the full SHA
    1c75a18 View commit details
  2. Copy the full SHA
    750d266 View commit details
1 change: 1 addition & 0 deletions spec/truffle/tags/core/array/initialize_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Array#initialize with (size, object=nil) raises an ArgumentError if size is too large
1 change: 1 addition & 0 deletions spec/truffle/tags/core/array/new_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Array.new with (size, object=nil) raises an ArgumentError if size is too large
116 changes: 116 additions & 0 deletions spec/truffle/tags/core/array/pack/j_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
fails:Array#pack with format 'J' ignores whitespace in the format string
fails:Array#pack with format 'J' calls #to_str to coerce the directives string
fails:Array#pack with format 'J' taints the output string if the format string is tainted
fails:Array#pack with format 'J' returns an empty String if count is zero
fails:Array#pack with format 'J' raises a TypeError when passed nil
fails:Array#pack with format 'J' raises a TypeError when passed true
fails:Array#pack with format 'J' raises a TypeError when passed false
fails:Array#pack with format 'J' returns an ASCII-8BIT string
fails:Array#pack with format 'J' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'J' raises a TypeError when passed a String
fails:Array#pack with format 'j' ignores whitespace in the format string
fails:Array#pack with format 'j' calls #to_str to coerce the directives string
fails:Array#pack with format 'j' taints the output string if the format string is tainted
fails:Array#pack with format 'j' returns an empty String if count is zero
fails:Array#pack with format 'j' raises a TypeError when passed nil
fails:Array#pack with format 'j' raises a TypeError when passed true
fails:Array#pack with format 'j' raises a TypeError when passed false
fails:Array#pack with format 'j' returns an ASCII-8BIT string
fails:Array#pack with format 'j' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'j' raises a TypeError when passed a String
fails:Array#pack with format 'J' with modifier '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'J' with modifier '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'J' with modifier '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'J' with modifier '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'J' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'J' with modifier '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'J' with modifier '_' ignores NULL bytes between directives
fails:Array#pack with format 'J' with modifier '_' ignores spaces between directives
fails:Array#pack with format 'J' with modifier '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'J' with modifier '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'J' with modifier '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'J' with modifier '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'J' with modifier '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'J' with modifier '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'J' with modifier '!' ignores NULL bytes between directives
fails:Array#pack with format 'J' with modifier '!' ignores spaces between directives
fails:Array#pack with format 'j' with modifier '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'j' with modifier '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'j' with modifier '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'j' with modifier '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'j' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'j' with modifier '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'j' with modifier '_' ignores NULL bytes between directives
fails:Array#pack with format 'j' with modifier '_' ignores spaces between directives
fails:Array#pack with format 'j' with modifier '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'j' with modifier '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'j' with modifier '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'j' with modifier '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'j' with modifier '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'j' with modifier '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'j' with modifier '!' ignores NULL bytes between directives
fails:Array#pack with format 'j' with modifier '!' ignores spaces between directives
fails:Array#pack with format 'J' with modifier '<' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'J' with modifier '<' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'J' with modifier '<' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'J' with modifier '<' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'J' with modifier '<' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'J' with modifier '<' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'J' with modifier '<' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'J' with modifier '<' and '_' ignores spaces between directives
fails:Array#pack with format 'J' with modifier '<' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'J' with modifier '<' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'J' with modifier '<' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'J' with modifier '<' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'J' with modifier '<' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'J' with modifier '<' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'J' with modifier '<' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'J' with modifier '<' and '!' ignores spaces between directives
fails:Array#pack with format 'J' with modifier '>' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'J' with modifier '>' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'J' with modifier '>' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'J' with modifier '>' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'J' with modifier '>' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'J' with modifier '>' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'J' with modifier '>' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'J' with modifier '>' and '_' ignores spaces between directives
fails:Array#pack with format 'J' with modifier '>' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'J' with modifier '>' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'J' with modifier '>' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'J' with modifier '>' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'J' with modifier '>' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'J' with modifier '>' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'J' with modifier '>' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'J' with modifier '>' and '!' ignores spaces between directives
fails:Array#pack with format 'j' with modifier '<' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'j' with modifier '<' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'j' with modifier '<' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'j' with modifier '<' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'j' with modifier '<' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'j' with modifier '<' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'j' with modifier '<' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'j' with modifier '<' and '_' ignores spaces between directives
fails:Array#pack with format 'j' with modifier '<' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'j' with modifier '<' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'j' with modifier '<' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'j' with modifier '<' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'j' with modifier '<' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'j' with modifier '<' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'j' with modifier '<' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'j' with modifier '<' and '!' ignores spaces between directives
fails:Array#pack with format 'j' with modifier '>' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'j' with modifier '>' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'j' with modifier '>' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'j' with modifier '>' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'j' with modifier '>' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'j' with modifier '>' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'j' with modifier '>' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'j' with modifier '>' and '_' ignores spaces between directives
fails:Array#pack with format 'j' with modifier '>' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'j' with modifier '>' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'j' with modifier '>' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'j' with modifier '>' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'j' with modifier '>' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'j' with modifier '>' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'j' with modifier '>' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'j' with modifier '>' and '!' ignores spaces between directives
1 change: 1 addition & 0 deletions spec/truffle/tags/core/bignum/left_shift_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Bignum#<< with n << m returns 0 when m < 0 and m is a Bignum
1 change: 1 addition & 0 deletions spec/truffle/tags/core/class/new_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Class.new raises a TypeError when given a non-Class
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/exception/interrupt_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Interrupt.new returns an instance of interrupt with no message given
fails:Interrupt.new takes an optional message argument
fails:rescueing Interrupt raises an Interrupt when sent a signal SIGINT
1 change: 1 addition & 0 deletions spec/truffle/tags/core/fixnum/left_shift_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Fixnum#<< with n << m returns 0 when m < 0 and m is a Bignum
1 change: 1 addition & 0 deletions spec/truffle/tags/core/hash/inspect_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Hash#inspect does not raise if inspected result is not default external encoding
1 change: 1 addition & 0 deletions spec/truffle/tags/core/hash/to_s_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Hash#to_s does not raise if inspected result is not default external encoding
1 change: 1 addition & 0 deletions spec/truffle/tags/core/io/each_codepoint_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:IO#each_codepoint raises an error if reading invalid sequence
fails:IO#each_codepoint raises an exception at incomplete character before EOF when conversion takes place
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/signal/signame_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Signal.signame takes a signal name with a well known signal number
fails:Signal.signame returns nil if the argument is an invalid signal number
fails:Signal.signame raises a TypeError when the passed argument can't be coerced to Integer
1 change: 1 addition & 0 deletions spec/truffle/tags/core/string/modulo_tags.txt
Original file line number Diff line number Diff line change
@@ -11,3 +11,4 @@ fails:String#% behaves as if calling Kernel#Float for %g arguments, when the pas
fails:String#% behaves as if calling Kernel#Float for %G arguments, when the passed argument does not respond to #to_ary
fails:String#% behaves as if calling Kernel#Float for %G arguments, when the passed argument is hexadecimal string
fails:String#% when format string contains %<> formats should raise ArgumentError if no hash given
fails:String#% pads with spaces for %E with Inf, -Inf, and NaN
Loading