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: 940601d1f106
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 824cd031d11e
Choose a head ref
  • 5 commits
  • 46 files changed
  • 1 contributor

Commits on Mar 1, 2015

  1. Copy the full SHA
    116d004 View commit details
  2. Copy the full SHA
    0953ec5 View commit details
  3. Copy the full SHA
    341c1e6 View commit details
  4. Copy the full SHA
    132ceea View commit details
  5. Copy the full SHA
    824cd03 View commit details
Showing with 5 additions and 1,132 deletions.
  1. +0 −5 spec/truffle/tags/core/array/pack/at_tags.txt
  2. +0 −14 spec/truffle/tags/core/array/pack/b_tags.txt
  3. +0 −16 spec/truffle/tags/core/array/pack/c_tags.txt
  4. +0 −24 spec/truffle/tags/core/array/pack/d_tags.txt
  5. +0 −24 spec/truffle/tags/core/array/pack/e_tags.txt
  6. +0 −24 spec/truffle/tags/core/array/pack/f_tags.txt
  7. +0 −24 spec/truffle/tags/core/array/pack/g_tags.txt
  8. +0 −14 spec/truffle/tags/core/array/pack/h_tags.txt
  9. +0 −12 spec/truffle/tags/core/array/pack/i_tags.txt
  10. +0 −48 spec/truffle/tags/core/array/pack/l_tags.txt
  11. +0 −11 spec/truffle/tags/core/array/pack/m_tags.txt
  12. +0 −16 spec/truffle/tags/core/array/pack/n_tags.txt
  13. +0 −6 spec/truffle/tags/core/array/pack/p_tags.txt
  14. +0 −1 spec/truffle/tags/core/array/pack/percent_tags.txt
  15. +0 −12 spec/truffle/tags/core/array/pack/q_tags.txt
  16. +0 −12 spec/truffle/tags/core/array/pack/s_tags.txt
  17. +0 −8 spec/truffle/tags/core/array/pack/u_tags.txt
  18. +0 −16 spec/truffle/tags/core/array/pack/v_tags.txt
  19. +0 −5 spec/truffle/tags/core/array/pack/w_tags.txt
  20. +0 −12 spec/truffle/tags/core/array/pack/x_tags.txt
  21. +0 −17 spec/truffle/tags/core/array/pack/z_tags.txt
  22. +0 −6 spec/truffle/tags/core/string/unpack/a_tags.txt
  23. +0 −6 spec/truffle/tags/core/string/unpack/at_tags.txt
  24. +0 −6 spec/truffle/tags/core/string/unpack/b_tags.txt
  25. +0 −24 spec/truffle/tags/core/string/unpack/c_tags.txt
  26. +0 −5 spec/truffle/tags/core/string/unpack/comment_tags.txt
  27. +0 −28 spec/truffle/tags/core/string/unpack/d_tags.txt
  28. +0 −28 spec/truffle/tags/core/string/unpack/e_tags.txt
  29. +0 −28 spec/truffle/tags/core/string/unpack/f_tags.txt
  30. +0 −28 spec/truffle/tags/core/string/unpack/g_tags.txt
  31. +0 −6 spec/truffle/tags/core/string/unpack/h_tags.txt
  32. +0 −166 spec/truffle/tags/core/string/unpack/i_tags.txt
  33. +0 −160 spec/truffle/tags/core/string/unpack/l_tags.txt
  34. +0 −6 spec/truffle/tags/core/string/unpack/m_tags.txt
  35. +0 −23 spec/truffle/tags/core/string/unpack/n_tags.txt
  36. +0 −8 spec/truffle/tags/core/string/unpack/p_tags.txt
  37. +0 −55 spec/truffle/tags/core/string/unpack/q_tags.txt
  38. +0 −168 spec/truffle/tags/core/string/unpack/s_tags.txt
  39. +0 −15 spec/truffle/tags/core/string/unpack/u_tags.txt
  40. +0 −23 spec/truffle/tags/core/string/unpack/v_tags.txt
  41. +0 −5 spec/truffle/tags/core/string/unpack/w_tags.txt
  42. +0 −13 spec/truffle/tags/core/string/unpack/x_tags.txt
  43. +0 −3 spec/truffle/tags/core/string/unpack/z_tags.txt
  44. +1 −1 truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
  45. +2 −0 truffle/src/main/java/org/jruby/truffle/runtime/RubyContext.java
  46. +2 −0 truffle/src/main/java/org/jruby/truffle/runtime/control/RaiseException.java
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/array/pack/at_tags.txt

This file was deleted.

14 changes: 0 additions & 14 deletions spec/truffle/tags/core/array/pack/b_tags.txt

This file was deleted.

16 changes: 0 additions & 16 deletions spec/truffle/tags/core/array/pack/c_tags.txt
Original file line number Diff line number Diff line change
@@ -2,23 +2,7 @@ fails:Array#pack with format 'C' ignores whitespace in the format string
fails:Array#pack with format 'C' calls #to_str to coerce the directives string
fails:Array#pack with format 'C' taints the output string if the format string is tainted
fails:Array#pack with format 'C' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'C' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'C' raises a TypeError when passed true
fails:Array#pack with format 'C' raises a TypeError when passed false
fails:Array#pack with format 'C' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'C' raises a TypeError when passed a String
fails:Array#pack with format 'C' raises ArgumentError when the format modifier is '_'
fails:Array#pack with format 'C' raises ArgumentError when the format modifier is '!'
fails:Array#pack with format 'c' ignores whitespace in the format string
fails:Array#pack with format 'c' calls #to_str to coerce the directives string
fails:Array#pack with format 'c' taints the output string if the format string is tainted
fails:Array#pack with format 'c' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'c' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'c' raises a TypeError when passed true
fails:Array#pack with format 'c' raises a TypeError when passed false
fails:Array#pack with format 'c' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'c' raises a TypeError when passed a String
fails:Array#pack with format 'c' raises ArgumentError when the format modifier is '_'
fails:Array#pack with format 'c' raises ArgumentError when the format modifier is '!'
fails:Array#pack with format 'C' raises a TypeError when passed nil
fails:Array#pack with format 'c' raises a TypeError when passed nil
24 changes: 0 additions & 24 deletions spec/truffle/tags/core/array/pack/d_tags.txt

This file was deleted.

24 changes: 0 additions & 24 deletions spec/truffle/tags/core/array/pack/e_tags.txt

This file was deleted.

24 changes: 0 additions & 24 deletions spec/truffle/tags/core/array/pack/f_tags.txt

This file was deleted.

24 changes: 0 additions & 24 deletions spec/truffle/tags/core/array/pack/g_tags.txt

This file was deleted.

14 changes: 0 additions & 14 deletions spec/truffle/tags/core/array/pack/h_tags.txt

This file was deleted.

12 changes: 0 additions & 12 deletions spec/truffle/tags/core/array/pack/i_tags.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
fails:Array#pack with format 'I' ignores whitespace in the format string
fails:Array#pack with format 'I' calls #to_str to coerce the directives string
fails:Array#pack with format 'I' taints the output string if the format string is tainted
fails:Array#pack with format 'I' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'I' raises a TypeError when passed true
fails:Array#pack with format 'I' raises a TypeError when passed false
fails:Array#pack with format 'I' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'I' raises a TypeError when passed a String
fails:Array#pack with format 'i' ignores whitespace in the format string
fails:Array#pack with format 'i' calls #to_str to coerce the directives string
fails:Array#pack with format 'i' taints the output string if the format string is tainted
fails:Array#pack with format 'i' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'i' raises a TypeError when passed true
fails:Array#pack with format 'i' raises a TypeError when passed false
fails:Array#pack with format 'i' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'i' raises a TypeError when passed a String
fails:Array#pack with format 'I' with modifier '<' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'I' with modifier '<' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'I' with modifier '<' and '!' calls #to_int to convert the pack argument to an Integer
@@ -28,5 +18,3 @@ fails:Array#pack with format 'i' with modifier '>' and '_' calls #to_int to conv
fails:Array#pack with format 'i' with modifier '>' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'I' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'i' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'I' raises a TypeError when passed nil
fails:Array#pack with format 'i' raises a TypeError when passed nil
48 changes: 0 additions & 48 deletions spec/truffle/tags/core/array/pack/l_tags.txt
Original file line number Diff line number Diff line change
@@ -1,116 +1,70 @@
fails:Array#pack with format 'L' ignores whitespace in the format string
fails:Array#pack with format 'L' calls #to_str to coerce the directives string
fails:Array#pack with format 'L' taints the output string if the format string is tainted
fails:Array#pack with format 'L' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'L' raises a TypeError when passed true
fails:Array#pack with format 'L' raises a TypeError when passed false
fails:Array#pack with format 'L' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'L' raises a TypeError when passed a String
fails:Array#pack with format 'l' ignores whitespace in the format string
fails:Array#pack with format 'l' calls #to_str to coerce the directives string
fails:Array#pack with format 'l' taints the output string if the format string is tainted
fails:Array#pack with format 'l' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'l' raises a TypeError when passed true
fails:Array#pack with format 'l' raises a TypeError when passed false
fails:Array#pack with format 'l' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'l' raises a TypeError when passed a String
fails:Array#pack with format 'L' with modifier '<' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '>' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '<' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'L' with modifier '<' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'L' with modifier '<' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'L' with modifier '<' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '<' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'L' with modifier '<' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'L' with modifier '<' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '<' and '_' ignores spaces between directives
fails:Array#pack with format 'L' with modifier '<' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'L' with modifier '<' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'L' with modifier '<' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'L' with modifier '<' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '<' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'L' with modifier '<' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'L' with modifier '<' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '<' and '!' ignores spaces between directives
fails:Array#pack with format 'L' with modifier '>' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'L' with modifier '>' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'L' with modifier '>' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'L' with modifier '>' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '>' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'L' with modifier '>' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'L' with modifier '>' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '>' and '_' ignores spaces between directives
fails:Array#pack with format 'L' with modifier '>' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'L' with modifier '>' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'L' with modifier '>' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'L' with modifier '>' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '>' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'L' with modifier '>' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'L' with modifier '>' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '>' and '!' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '<' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '>' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '<' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '<' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '<' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'l' with modifier '<' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '<' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '<' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '<' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '<' and '_' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '<' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '<' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '<' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'l' with modifier '<' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '<' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '<' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '<' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '<' and '!' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '>' and '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '>' and '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '>' and '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'l' with modifier '>' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '>' and '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '>' and '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '>' and '_' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '>' and '_' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '>' and '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '>' and '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '>' and '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'l' with modifier '>' and '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '>' and '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '>' and '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '>' and '!' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '>' and '!' ignores spaces between directives
fails:Array#pack with format 'L' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'L' with modifier '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'L' with modifier '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'L' with modifier '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'L' with modifier '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'L' with modifier '_' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '_' ignores spaces between directives
fails:Array#pack with format 'L' with modifier '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'L' with modifier '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'L' with modifier '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'L' with modifier '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'L' with modifier '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'L' with modifier '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'L' with modifier '!' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '!' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '_' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '_' encodes a Float truncated as an Integer
fails:Array#pack with format 'l' with modifier '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '_' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '_' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '!' encodes a Float truncated as an Integer
fails:Array#pack with format 'l' with modifier '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '!' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '!' encodes all remaining elements when passed the '*' modifier
@@ -140,5 +94,3 @@ fails:Array#pack with format 'l' with modifier '_' encodes the least significant
fails:Array#pack with format 'l' with modifier '_' encodes the least significant 32 bits of a negative number
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 32 bits of a positive number
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 32 bits of a negative number
fails:Array#pack with format 'L' raises a TypeError when passed nil
fails:Array#pack with format 'l' raises a TypeError when passed nil
11 changes: 0 additions & 11 deletions spec/truffle/tags/core/array/pack/m_tags.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
fails:Array#pack with format 'M' ignores whitespace in the format string
fails:Array#pack with format 'M' calls #to_str to coerce the directives string
fails:Array#pack with format 'M' taints the output string if the format string is tainted
fails:Array#pack with format 'M' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'M' encodes a recursive array
fails:Array#pack with format 'M' calls #to_s to convert an object to a String
fails:Array#pack with format 'M' converts the object to a String representation if #to_s does not return a String
fails:Array#pack with format 'M' encodes a Symbol as a String
fails:Array#pack with format 'M' encodes an Integer as a String
fails:Array#pack with format 'm' ignores whitespace in the format string
fails:Array#pack with format 'm' calls #to_str to coerce the directives string
fails:Array#pack with format 'm' taints the output string if the format string is tainted
fails:Array#pack with format 'm' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'm' calls #to_str to convert an object to a String
fails:Array#pack with format 'm' raises a TypeError if #to_str does not return a String
fails:Array#pack with format 'm' raises a TypeError if passed nil
fails:Array#pack with format 'm' raises a TypeError if passed an Integer
16 changes: 0 additions & 16 deletions spec/truffle/tags/core/array/pack/n_tags.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
fails:Array#pack with format 'N' ignores whitespace in the format string
fails:Array#pack with format 'N' calls #to_str to coerce the directives string
fails:Array#pack with format 'N' taints the output string if the format string is tainted
fails:Array#pack with format 'N' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'N' raises a TypeError when passed true
fails:Array#pack with format 'N' raises a TypeError when passed false
fails:Array#pack with format 'N' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'N' raises a TypeError when passed a String
fails:Array#pack with format 'N' raises ArgumentError when the format modifier is '_'
fails:Array#pack with format 'N' raises ArgumentError when the format modifier is '!'
fails:Array#pack with format 'N' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'n' ignores whitespace in the format string
fails:Array#pack with format 'n' calls #to_str to coerce the directives string
fails:Array#pack with format 'n' taints the output string if the format string is tainted
fails:Array#pack with format 'n' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'n' raises a TypeError when passed true
fails:Array#pack with format 'n' raises a TypeError when passed false
fails:Array#pack with format 'n' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'n' raises a TypeError when passed a String
fails:Array#pack with format 'n' raises ArgumentError when the format modifier is '_'
fails:Array#pack with format 'n' raises ArgumentError when the format modifier is '!'
fails:Array#pack with format 'n' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'N' raises a TypeError when passed nil
fails:Array#pack with format 'n' raises a TypeError when passed nil
6 changes: 0 additions & 6 deletions spec/truffle/tags/core/array/pack/p_tags.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
fails:Array#pack with format 'P' ignores whitespace in the format string
fails:Array#pack with format 'P' calls #to_str to coerce the directives string
fails:Array#pack with format 'P' taints the output string if the format string is tainted
fails:Array#pack with format 'P' returns a String whose size is the number of bytes in a machine word
fails:Array#pack with format 'p' ignores whitespace in the format string
fails:Array#pack with format 'p' calls #to_str to coerce the directives string
fails:Array#pack with format 'p' taints the output string if the format string is tainted
fails:Array#pack with format 'p' returns a String whose size is the number of bytes in a machine word
1 change: 0 additions & 1 deletion spec/truffle/tags/core/array/pack/percent_tags.txt

This file was deleted.

12 changes: 0 additions & 12 deletions spec/truffle/tags/core/array/pack/q_tags.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
fails:Array#pack with format 'Q' ignores whitespace in the format string
fails:Array#pack with format 'Q' calls #to_str to coerce the directives string
fails:Array#pack with format 'Q' taints the output string if the format string is tainted
fails:Array#pack with format 'Q' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'Q' raises a TypeError when passed true
fails:Array#pack with format 'Q' raises a TypeError when passed false
fails:Array#pack with format 'Q' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'Q' raises a TypeError when passed a String
fails:Array#pack with format 'q' ignores whitespace in the format string
fails:Array#pack with format 'q' calls #to_str to coerce the directives string
fails:Array#pack with format 'q' taints the output string if the format string is tainted
fails:Array#pack with format 'q' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'q' raises a TypeError when passed true
fails:Array#pack with format 'q' raises a TypeError when passed false
fails:Array#pack with format 'q' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'q' raises a TypeError when passed a String
fails:Array#pack with format 'Q' with modifier '<' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'Q' with modifier '<' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'Q' with modifier '<' encodes all remaining elements when passed the '*' modifier
@@ -44,5 +34,3 @@ fails:Array#pack with format 'q' encodes the number of array elements specified
fails:Array#pack with format 'q' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'q' ignores NULL bytes between directives
fails:Array#pack with format 'q' ignores spaces between directives
fails:Array#pack with format 'Q' raises a TypeError when passed nil
fails:Array#pack with format 'q' raises a TypeError when passed nil
12 changes: 0 additions & 12 deletions spec/truffle/tags/core/array/pack/s_tags.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
fails:Array#pack with format 'S' ignores whitespace in the format string
fails:Array#pack with format 'S' calls #to_str to coerce the directives string
fails:Array#pack with format 'S' taints the output string if the format string is tainted
fails:Array#pack with format 'S' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'S' raises a TypeError when passed true
fails:Array#pack with format 'S' raises a TypeError when passed false
fails:Array#pack with format 'S' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'S' raises a TypeError when passed a String
fails:Array#pack with format 's' ignores whitespace in the format string
fails:Array#pack with format 's' calls #to_str to coerce the directives string
fails:Array#pack with format 's' taints the output string if the format string is tainted
fails:Array#pack with format 's' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 's' raises a TypeError when passed true
fails:Array#pack with format 's' raises a TypeError when passed false
fails:Array#pack with format 's' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 's' raises a TypeError when passed a String
fails:Array#pack with format 'S' with modifier '<' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'S' with modifier '<' and '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'S' with modifier '<' and '!' calls #to_int to convert the pack argument to an Integer
@@ -32,5 +22,3 @@ fails:Array#pack with format 'S' with modifier '!' calls #to_int to convert the
fails:Array#pack with format 's' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 's' with modifier '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 's' with modifier '!' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'S' raises a TypeError when passed nil
fails:Array#pack with format 's' raises a TypeError when passed nil
8 changes: 0 additions & 8 deletions spec/truffle/tags/core/array/pack/u_tags.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
fails:Array#pack with format 'U' ignores whitespace in the format string
fails:Array#pack with format 'U' calls #to_str to coerce the directives string
fails:Array#pack with format 'U' taints the output string if the format string is tainted
fails:Array#pack with format 'U' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'U' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'U' raises a TypeError if #to_int does not return an Integer
fails:Array#pack with format 'U' raises a RangeError if passed a negative number
fails:Array#pack with format 'U' raises a RangeError if passed a number larger than an unsigned 32-bit integer
fails:Array#pack with format 'u' ignores whitespace in the format string
fails:Array#pack with format 'u' calls #to_str to coerce the directives string
fails:Array#pack with format 'u' taints the output string if the format string is tainted
fails:Array#pack with format 'u' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'u' calls #to_str to convert an object to a String
fails:Array#pack with format 'u' raises a TypeError if #to_str does not return a String
fails:Array#pack with format 'u' raises a TypeError if passed nil
fails:Array#pack with format 'u' raises a TypeError if passed an Integer
16 changes: 0 additions & 16 deletions spec/truffle/tags/core/array/pack/v_tags.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
fails:Array#pack with format 'V' ignores whitespace in the format string
fails:Array#pack with format 'V' calls #to_str to coerce the directives string
fails:Array#pack with format 'V' taints the output string if the format string is tainted
fails:Array#pack with format 'V' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'V' raises a TypeError when passed true
fails:Array#pack with format 'V' raises a TypeError when passed false
fails:Array#pack with format 'V' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'V' raises a TypeError when passed a String
fails:Array#pack with format 'V' raises ArgumentError when the format modifier is '_'
fails:Array#pack with format 'V' raises ArgumentError when the format modifier is '!'
fails:Array#pack with format 'V' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'v' ignores whitespace in the format string
fails:Array#pack with format 'v' calls #to_str to coerce the directives string
fails:Array#pack with format 'v' taints the output string if the format string is tainted
fails:Array#pack with format 'v' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'v' raises a TypeError when passed true
fails:Array#pack with format 'v' raises a TypeError when passed false
fails:Array#pack with format 'v' raises a TypeError when the object does not respond to #to_int
fails:Array#pack with format 'v' raises a TypeError when passed a String
fails:Array#pack with format 'v' raises ArgumentError when the format modifier is '_'
fails:Array#pack with format 'v' raises ArgumentError when the format modifier is '!'
fails:Array#pack with format 'v' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'V' raises a TypeError when passed nil
fails:Array#pack with format 'v' raises a TypeError when passed nil
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/array/pack/w_tags.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
fails:Array#pack with format 'w' ignores whitespace in the format string
fails:Array#pack with format 'w' calls #to_str to coerce the directives string
fails:Array#pack with format 'w' taints the output string if the format string is tainted
fails:Array#pack with format 'w' raises an ArgumentError if there are fewer elements than the format requires
fails:Array#pack with format 'w' raises a TypeError when passed true
fails:Array#pack with format 'w' raises a TypeError when passed false
fails:Array#pack with format 'w' encodes a BER-compressed integer
fails:Array#pack with format 'w' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'w' raises an ArgumentError when passed a negative value
fails:Array#pack with format 'w' raises a TypeError when passed nil
12 changes: 0 additions & 12 deletions spec/truffle/tags/core/array/pack/x_tags.txt

This file was deleted.

17 changes: 0 additions & 17 deletions spec/truffle/tags/core/array/pack/z_tags.txt

This file was deleted.

6 changes: 0 additions & 6 deletions spec/truffle/tags/core/string/unpack/a_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:String#unpack with format 'A' ignores whitespace in the format string
fails:String#unpack with format 'A' calls #to_str to coerce the directives string
fails:String#unpack with format 'A' raises a TypeError when passed nil
fails:String#unpack with format 'A' raises a TypeError when passed an Integer
fails:String#unpack with format 'A' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'A' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'A' returns an empty string if the input is empty
@@ -15,10 +12,7 @@ fails:String#unpack with format 'A' decodes the number of bytes specified by the
fails:String#unpack with format 'A' decodes past NULL bytes when passed the '*' modifier
fails:String#unpack with format 'A' removes trailing space and NULL bytes from the decoded string
fails:String#unpack with format 'A' does not remove whitespace other than space
fails:String#unpack with format 'a' ignores whitespace in the format string
fails:String#unpack with format 'a' calls #to_str to coerce the directives string
fails:String#unpack with format 'a' raises a TypeError when passed nil
fails:String#unpack with format 'a' raises a TypeError when passed an Integer
fails:String#unpack with format 'a' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'a' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'a' returns an empty string if the input is empty
6 changes: 0 additions & 6 deletions spec/truffle/tags/core/string/unpack/at_tags.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
fails:String#unpack with format '@' ignores whitespace in the format string
fails:String#unpack with format '@' calls #to_str to coerce the directives string
fails:String#unpack with format '@' raises a TypeError when passed nil
fails:String#unpack with format '@' raises a TypeError when passed an Integer
fails:String#unpack with format '@' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format '@' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format '@' moves the read index to the byte specified by the count
fails:String#unpack with format '@' implicitly has a count of zero when count is not specified
fails:String#unpack with format '@' has no effect when passed the '*' modifier
fails:String#unpack with format '@' positions the read index one beyond the last readable byte in the String
fails:String#unpack with format '@' raises an ArgumentError if the count exceeds the size of the String
6 changes: 0 additions & 6 deletions spec/truffle/tags/core/string/unpack/b_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:String#unpack with format 'B' ignores whitespace in the format string
fails:String#unpack with format 'B' calls #to_str to coerce the directives string
fails:String#unpack with format 'B' raises a TypeError when passed nil
fails:String#unpack with format 'B' raises a TypeError when passed an Integer
fails:String#unpack with format 'B' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'B' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'B' decodes one bit from each byte for each format character starting with the most significant bit
@@ -14,10 +11,7 @@ fails:String#unpack with format 'B' decodes all the bits when passed the '*' mod
fails:String#unpack with format 'B' adds an empty string for each element requested beyond the end of the String
fails:String#unpack with format 'B' ignores NULL bytes between directives
fails:String#unpack with format 'B' ignores spaces between directives
fails:String#unpack with format 'b' ignores whitespace in the format string
fails:String#unpack with format 'b' calls #to_str to coerce the directives string
fails:String#unpack with format 'b' raises a TypeError when passed nil
fails:String#unpack with format 'b' raises a TypeError when passed an Integer
fails:String#unpack with format 'b' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'b' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'b' decodes one bit from each byte for each format character starting with the least significant bit
24 changes: 0 additions & 24 deletions spec/truffle/tags/core/string/unpack/c_tags.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,4 @@
fails:String#unpack with format 'C' ignores whitespace in the format string
fails:String#unpack with format 'C' calls #to_str to coerce the directives string
fails:String#unpack with format 'C' raises a TypeError when passed nil
fails:String#unpack with format 'C' raises a TypeError when passed an Integer
fails:String#unpack with format 'C' decodes one byte for a single format character
fails:String#unpack with format 'C' decodes two bytes for two format characters
fails:String#unpack with format 'C' decodes the number of bytes requested by the count modifier
fails:String#unpack with format 'C' decodes the remaining bytes when passed the '*' modifier
fails:String#unpack with format 'C' decodes the remaining bytes when passed the '*' modifer after another directive
fails:String#unpack with format 'C' decodes zero bytes when no bytes remain and the '*' modifier is passed
fails:String#unpack with format 'C' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'C' ignores NULL bytes between directives
fails:String#unpack with format 'C' ignores spaces between directives
fails:String#unpack with format 'C' decodes a byte with most significant bit set as a positive number
fails:String#unpack with format 'c' ignores whitespace in the format string
fails:String#unpack with format 'c' calls #to_str to coerce the directives string
fails:String#unpack with format 'c' raises a TypeError when passed nil
fails:String#unpack with format 'c' raises a TypeError when passed an Integer
fails:String#unpack with format 'c' decodes one byte for a single format character
fails:String#unpack with format 'c' decodes two bytes for two format characters
fails:String#unpack with format 'c' decodes the number of bytes requested by the count modifier
fails:String#unpack with format 'c' decodes the remaining bytes when passed the '*' modifier
fails:String#unpack with format 'c' decodes the remaining bytes when passed the '*' modifer after another directive
fails:String#unpack with format 'c' decodes zero bytes when no bytes remain and the '*' modifier is passed
fails:String#unpack with format 'c' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'c' ignores NULL bytes between directives
fails:String#unpack with format 'c' ignores spaces between directives
fails:String#unpack with format 'c' decodes a byte with most significant bit set as a negative number
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/string/unpack/comment_tags.txt

This file was deleted.

28 changes: 0 additions & 28 deletions spec/truffle/tags/core/string/unpack/d_tags.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
fails:String#unpack with format 'D' ignores whitespace in the format string
fails:String#unpack with format 'D' calls #to_str to coerce the directives string
fails:String#unpack with format 'D' raises a TypeError when passed nil
fails:String#unpack with format 'D' raises a TypeError when passed an Integer
fails:String#unpack with format 'D' decodes one double for a single format character
fails:String#unpack with format 'D' decodes a negative double
fails:String#unpack with format 'D' decodes two doubles for two format characters
fails:String#unpack with format 'D' decodes the number of doubles requested by the count modifier
fails:String#unpack with format 'D' decodes the remaining doubles when passed the '*' modifier
fails:String#unpack with format 'D' decodes the remaining doubles when passed the '*' modifier after another directive
fails:String#unpack with format 'D' does not decode a double when fewer bytes than a double remain and the '*' modifier is passed
fails:String#unpack with format 'D' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'D' decodes positive Infinity
fails:String#unpack with format 'D' decodes negative Infinity
fails:String#unpack with format 'D' decodes NaN
fails:String#unpack with format 'D' ignores NULL bytes between directives
fails:String#unpack with format 'D' ignores spaces between directives
fails:String#unpack with format 'd' ignores whitespace in the format string
fails:String#unpack with format 'd' calls #to_str to coerce the directives string
fails:String#unpack with format 'd' raises a TypeError when passed nil
fails:String#unpack with format 'd' raises a TypeError when passed an Integer
fails:String#unpack with format 'd' decodes one double for a single format character
fails:String#unpack with format 'd' decodes a negative double
fails:String#unpack with format 'd' decodes two doubles for two format characters
fails:String#unpack with format 'd' decodes the number of doubles requested by the count modifier
fails:String#unpack with format 'd' decodes the remaining doubles when passed the '*' modifier
fails:String#unpack with format 'd' decodes the remaining doubles when passed the '*' modifier after another directive
fails:String#unpack with format 'd' does not decode a double when fewer bytes than a double remain and the '*' modifier is passed
fails:String#unpack with format 'd' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'd' decodes positive Infinity
fails:String#unpack with format 'd' decodes negative Infinity
fails:String#unpack with format 'd' decodes NaN
fails:String#unpack with format 'd' ignores NULL bytes between directives
fails:String#unpack with format 'd' ignores spaces between directives
28 changes: 0 additions & 28 deletions spec/truffle/tags/core/string/unpack/e_tags.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
fails:String#unpack with format 'E' ignores whitespace in the format string
fails:String#unpack with format 'E' calls #to_str to coerce the directives string
fails:String#unpack with format 'E' raises a TypeError when passed nil
fails:String#unpack with format 'E' raises a TypeError when passed an Integer
fails:String#unpack with format 'E' decodes one double for a single format character
fails:String#unpack with format 'E' decodes a negative double
fails:String#unpack with format 'E' decodes two doubles for two format characters
fails:String#unpack with format 'E' decodes the number of doubles requested by the count modifier
fails:String#unpack with format 'E' decodes the remaining doubles when passed the '*' modifier
fails:String#unpack with format 'E' decodes the remaining doubles when passed the '*' modifier after another directive
fails:String#unpack with format 'E' does not decode a double when fewer bytes than a double remain and the '*' modifier is passed
fails:String#unpack with format 'E' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'E' decodes positive Infinity
fails:String#unpack with format 'E' decodes negative Infinity
fails:String#unpack with format 'E' decodes NaN
fails:String#unpack with format 'E' ignores NULL bytes between directives
fails:String#unpack with format 'E' ignores spaces between directives
fails:String#unpack with format 'e' ignores whitespace in the format string
fails:String#unpack with format 'e' calls #to_str to coerce the directives string
fails:String#unpack with format 'e' raises a TypeError when passed nil
fails:String#unpack with format 'e' raises a TypeError when passed an Integer
fails:String#unpack with format 'e' decodes one float for a single format character
fails:String#unpack with format 'e' decodes a negative float
fails:String#unpack with format 'e' decodes two floats for two format characters
fails:String#unpack with format 'e' decodes the number of floats requested by the count modifier
fails:String#unpack with format 'e' decodes the remaining floats when passed the '*' modifier
fails:String#unpack with format 'e' decodes the remaining floats when passed the '*' modifier after another directive
fails:String#unpack with format 'e' does not decode a float when fewer bytes than a float remain and the '*' modifier is passed
fails:String#unpack with format 'e' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'e' decodes positive Infinity
fails:String#unpack with format 'e' decodes negative Infinity
fails:String#unpack with format 'e' decodes NaN
fails:String#unpack with format 'e' ignores NULL bytes between directives
fails:String#unpack with format 'e' ignores spaces between directives
28 changes: 0 additions & 28 deletions spec/truffle/tags/core/string/unpack/f_tags.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
fails:String#unpack with format 'F' ignores whitespace in the format string
fails:String#unpack with format 'F' calls #to_str to coerce the directives string
fails:String#unpack with format 'F' raises a TypeError when passed nil
fails:String#unpack with format 'F' raises a TypeError when passed an Integer
fails:String#unpack with format 'F' decodes one float for a single format character
fails:String#unpack with format 'F' decodes a negative float
fails:String#unpack with format 'F' decodes two floats for two format characters
fails:String#unpack with format 'F' decodes the number of floats requested by the count modifier
fails:String#unpack with format 'F' decodes the remaining floats when passed the '*' modifier
fails:String#unpack with format 'F' decodes the remaining floats when passed the '*' modifier after another directive
fails:String#unpack with format 'F' does not decode a float when fewer bytes than a float remain and the '*' modifier is passed
fails:String#unpack with format 'F' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'F' decodes positive Infinity
fails:String#unpack with format 'F' decodes negative Infinity
fails:String#unpack with format 'F' decodes NaN
fails:String#unpack with format 'F' ignores NULL bytes between directives
fails:String#unpack with format 'F' ignores spaces between directives
fails:String#unpack with format 'f' ignores whitespace in the format string
fails:String#unpack with format 'f' calls #to_str to coerce the directives string
fails:String#unpack with format 'f' raises a TypeError when passed nil
fails:String#unpack with format 'f' raises a TypeError when passed an Integer
fails:String#unpack with format 'f' decodes one float for a single format character
fails:String#unpack with format 'f' decodes a negative float
fails:String#unpack with format 'f' decodes two floats for two format characters
fails:String#unpack with format 'f' decodes the number of floats requested by the count modifier
fails:String#unpack with format 'f' decodes the remaining floats when passed the '*' modifier
fails:String#unpack with format 'f' decodes the remaining floats when passed the '*' modifier after another directive
fails:String#unpack with format 'f' does not decode a float when fewer bytes than a float remain and the '*' modifier is passed
fails:String#unpack with format 'f' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'f' decodes positive Infinity
fails:String#unpack with format 'f' decodes negative Infinity
fails:String#unpack with format 'f' decodes NaN
fails:String#unpack with format 'f' ignores NULL bytes between directives
fails:String#unpack with format 'f' ignores spaces between directives
28 changes: 0 additions & 28 deletions spec/truffle/tags/core/string/unpack/g_tags.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
fails:String#unpack with format 'G' ignores whitespace in the format string
fails:String#unpack with format 'G' calls #to_str to coerce the directives string
fails:String#unpack with format 'G' raises a TypeError when passed nil
fails:String#unpack with format 'G' raises a TypeError when passed an Integer
fails:String#unpack with format 'G' decodes one double for a single format character
fails:String#unpack with format 'G' decodes a negative double
fails:String#unpack with format 'G' decodes two doubles for two format characters
fails:String#unpack with format 'G' decodes the number of doubles requested by the count modifier
fails:String#unpack with format 'G' decodes the remaining doubles when passed the '*' modifier
fails:String#unpack with format 'G' decodes the remaining doubles when passed the '*' modifier after another directive
fails:String#unpack with format 'G' does not decode a double when fewer bytes than a double remain and the '*' modifier is passed
fails:String#unpack with format 'G' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'G' decodes positive Infinity
fails:String#unpack with format 'G' decodes negative Infinity
fails:String#unpack with format 'G' decodes NaN
fails:String#unpack with format 'G' ignores NULL bytes between directives
fails:String#unpack with format 'G' ignores spaces between directives
fails:String#unpack with format 'g' ignores whitespace in the format string
fails:String#unpack with format 'g' calls #to_str to coerce the directives string
fails:String#unpack with format 'g' raises a TypeError when passed nil
fails:String#unpack with format 'g' raises a TypeError when passed an Integer
fails:String#unpack with format 'g' decodes one float for a single format character
fails:String#unpack with format 'g' decodes a negative float
fails:String#unpack with format 'g' decodes two floats for two format characters
fails:String#unpack with format 'g' decodes the number of floats requested by the count modifier
fails:String#unpack with format 'g' decodes the remaining floats when passed the '*' modifier
fails:String#unpack with format 'g' decodes the remaining floats when passed the '*' modifier after another directive
fails:String#unpack with format 'g' does not decode a float when fewer bytes than a float remain and the '*' modifier is passed
fails:String#unpack with format 'g' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'g' decodes positive Infinity
fails:String#unpack with format 'g' decodes negative Infinity
fails:String#unpack with format 'g' decodes NaN
fails:String#unpack with format 'g' ignores NULL bytes between directives
fails:String#unpack with format 'g' ignores spaces between directives
6 changes: 0 additions & 6 deletions spec/truffle/tags/core/string/unpack/h_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:String#unpack with format 'H' ignores whitespace in the format string
fails:String#unpack with format 'H' calls #to_str to coerce the directives string
fails:String#unpack with format 'H' raises a TypeError when passed nil
fails:String#unpack with format 'H' raises a TypeError when passed an Integer
fails:String#unpack with format 'H' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'H' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'H' decodes one nibble from each byte for each format character starting with the most significant bit
@@ -14,10 +11,7 @@ fails:String#unpack with format 'H' decodes all the nibbles when passed the '*'
fails:String#unpack with format 'H' adds an empty string for each element requested beyond the end of the String
fails:String#unpack with format 'H' ignores NULL bytes between directives
fails:String#unpack with format 'H' ignores spaces between directives
fails:String#unpack with format 'h' ignores whitespace in the format string
fails:String#unpack with format 'h' calls #to_str to coerce the directives string
fails:String#unpack with format 'h' raises a TypeError when passed nil
fails:String#unpack with format 'h' raises a TypeError when passed an Integer
fails:String#unpack with format 'h' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'h' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'h' decodes one nibble from each byte for each format character starting with the least significant bit
166 changes: 0 additions & 166 deletions spec/truffle/tags/core/string/unpack/i_tags.txt

Large diffs are not rendered by default.

160 changes: 0 additions & 160 deletions spec/truffle/tags/core/string/unpack/l_tags.txt

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions spec/truffle/tags/core/string/unpack/m_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:String#unpack with format 'M' ignores whitespace in the format string
fails:String#unpack with format 'M' calls #to_str to coerce the directives string
fails:String#unpack with format 'M' raises a TypeError when passed nil
fails:String#unpack with format 'M' raises a TypeError when passed an Integer
fails:String#unpack with format 'M' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'M' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'M' decodes an empty string
@@ -18,10 +15,7 @@ fails:String#unpack with format 'M' decodes pre-encoded byte values 33..60
fails:String#unpack with format 'M' decodes pre-encoded byte values 62..126
fails:String#unpack with format 'M' decodes pre-encoded byte values 0..31 except tab and newline
fails:String#unpack with format 'M' decodes pre-encoded byte values 127..255
fails:String#unpack with format 'm' ignores whitespace in the format string
fails:String#unpack with format 'm' calls #to_str to coerce the directives string
fails:String#unpack with format 'm' raises a TypeError when passed nil
fails:String#unpack with format 'm' raises a TypeError when passed an Integer
fails:String#unpack with format 'm' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'm' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'm' decodes an empty string
23 changes: 0 additions & 23 deletions spec/truffle/tags/core/string/unpack/n_tags.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
fails:String#unpack with format 'N' ignores whitespace in the format string
fails:String#unpack with format 'N' calls #to_str to coerce the directives string
fails:String#unpack with format 'N' raises a TypeError when passed nil
fails:String#unpack with format 'N' raises a TypeError when passed an Integer
fails:String#unpack with format 'N' decodes one int for a single format character
fails:String#unpack with format 'N' decodes two ints for two format characters
fails:String#unpack with format 'N' decodes the number of ints requested by the count modifier
fails:String#unpack with format 'N' decodes the remaining ints when passed the '*' modifier
fails:String#unpack with format 'N' decodes the remaining ints when passed the '*' modifier after another directive
fails:String#unpack with format 'N' does not decode an int when fewer bytes than an int remain and the '*' modifier is passed
fails:String#unpack with format 'N' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'N' ignores NULL bytes between directives
fails:String#unpack with format 'N' ignores spaces between directives
fails:String#unpack with format 'N' decodes an int with most significant bit set as a positive number
fails:String#unpack with format 'N' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'N' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'n' ignores whitespace in the format string
fails:String#unpack with format 'n' calls #to_str to coerce the directives string
fails:String#unpack with format 'n' raises a TypeError when passed nil
fails:String#unpack with format 'n' raises a TypeError when passed an Integer
fails:String#unpack with format 'n' decodes one short for a single format character
fails:String#unpack with format 'n' decodes two shorts for two format characters
fails:String#unpack with format 'n' decodes the number of shorts requested by the count modifier
fails:String#unpack with format 'n' decodes the remaining shorts when passed the '*' modifier
fails:String#unpack with format 'n' decodes the remaining shorts when passed the '*' modifier after another directive
fails:String#unpack with format 'n' does not decode a short when fewer bytes than a short remain and the '*' modifier is passed
fails:String#unpack with format 'n' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'n' ignores NULL bytes between directives
fails:String#unpack with format 'n' ignores spaces between directives
fails:String#unpack with format 'n' decodes a short with most significant bit set as a positive number
fails:String#unpack with format 'n' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'n' raises an ArgumentError when the format modifier is '!'
8 changes: 0 additions & 8 deletions spec/truffle/tags/core/string/unpack/p_tags.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
fails:String#unpack with format 'P' ignores whitespace in the format string
fails:String#unpack with format 'P' calls #to_str to coerce the directives string
fails:String#unpack with format 'P' raises a TypeError when passed nil
fails:String#unpack with format 'P' raises a TypeError when passed an Integer
fails:String#unpack with format 'P' returns a random object after consuming a size-of a machine word bytes
fails:String#unpack with format 'p' ignores whitespace in the format string
fails:String#unpack with format 'p' calls #to_str to coerce the directives string
fails:String#unpack with format 'p' raises a TypeError when passed nil
fails:String#unpack with format 'p' raises a TypeError when passed an Integer
fails:String#unpack with format 'p' returns a random object after consuming a size-of a machine word bytes
55 changes: 0 additions & 55 deletions spec/truffle/tags/core/string/unpack/q_tags.txt
Original file line number Diff line number Diff line change
@@ -1,64 +1,9 @@
fails:String#unpack with format 'Q' with modifier '<' decodes one long for a single format character
fails:String#unpack with format 'Q' with modifier '<' decodes two longs for two format characters
fails:String#unpack with format 'Q' with modifier '<' decodes the number of longs requested by the count modifier
fails:String#unpack with format 'Q' with modifier '<' decodes the remaining longs when passed the '*' modifier
fails:String#unpack with format 'Q' with modifier '<' decodes the remaining longs when passed the '*' modifier after another directive
fails:String#unpack with format 'Q' with modifier '<' does not decode a long when fewer bytes than a long remain and the '*' modifier is passed
fails:String#unpack with format 'Q' with modifier '<' ignores NULL bytes between directives
fails:String#unpack with format 'Q' with modifier '<' ignores spaces between directives
fails:String#unpack with format 'Q' with modifier '<' decodes a long with most significant bit set as a positive number
fails:String#unpack with format 'Q' with modifier '>' decodes one long for a single format character
fails:String#unpack with format 'Q' with modifier '>' decodes two longs for two format characters
fails:String#unpack with format 'Q' with modifier '>' decodes the number of longs requested by the count modifier
fails:String#unpack with format 'Q' with modifier '>' decodes the remaining longs when passed the '*' modifier
fails:String#unpack with format 'Q' with modifier '>' decodes the remaining longs when passed the '*' modifier after another directive
fails:String#unpack with format 'Q' with modifier '>' does not decode a long when fewer bytes than a long remain and the '*' modifier is passed
fails:String#unpack with format 'Q' with modifier '>' ignores NULL bytes between directives
fails:String#unpack with format 'Q' with modifier '>' ignores spaces between directives
fails:String#unpack with format 'Q' with modifier '>' decodes a long with most significant bit set as a positive number
fails:String#unpack with format 'q' with modifier '<' decodes one long for a single format character
fails:String#unpack with format 'q' with modifier '<' decodes two longs for two format characters
fails:String#unpack with format 'q' with modifier '<' decodes the number of longs requested by the count modifier
fails:String#unpack with format 'q' with modifier '<' decodes the remaining longs when passed the '*' modifier
fails:String#unpack with format 'q' with modifier '<' decodes the remaining longs when passed the '*' modifier after another directive
fails:String#unpack with format 'q' with modifier '<' does not decode a long when fewer bytes than a long remain and the '*' modifier is passed
fails:String#unpack with format 'q' with modifier '<' ignores NULL bytes between directives
fails:String#unpack with format 'q' with modifier '<' ignores spaces between directives
fails:String#unpack with format 'q' with modifier '<' decodes a long with most significant bit set as a negative number
fails:String#unpack with format 'q' with modifier '>' decodes one long for a single format character
fails:String#unpack with format 'q' with modifier '>' decodes two longs for two format characters
fails:String#unpack with format 'q' with modifier '>' decodes the number of longs requested by the count modifier
fails:String#unpack with format 'q' with modifier '>' decodes the remaining longs when passed the '*' modifier
fails:String#unpack with format 'q' with modifier '>' decodes the remaining longs when passed the '*' modifier after another directive
fails:String#unpack with format 'q' with modifier '>' does not decode a long when fewer bytes than a long remain and the '*' modifier is passed
fails:String#unpack with format 'q' with modifier '>' ignores NULL bytes between directives
fails:String#unpack with format 'q' with modifier '>' ignores spaces between directives
fails:String#unpack with format 'q' with modifier '>' decodes a long with most significant bit set as a negative number
fails:String#unpack with format 'Q' ignores whitespace in the format string
fails:String#unpack with format 'Q' calls #to_str to coerce the directives string
fails:String#unpack with format 'Q' raises a TypeError when passed nil
fails:String#unpack with format 'Q' raises a TypeError when passed an Integer
fails:String#unpack with format 'q' ignores whitespace in the format string
fails:String#unpack with format 'q' calls #to_str to coerce the directives string
fails:String#unpack with format 'q' raises a TypeError when passed nil
fails:String#unpack with format 'q' raises a TypeError when passed an Integer
fails:String#unpack with format 'Q' decodes one long for a single format character
fails:String#unpack with format 'Q' decodes two longs for two format characters
fails:String#unpack with format 'Q' decodes the number of longs requested by the count modifier
fails:String#unpack with format 'Q' decodes the remaining longs when passed the '*' modifier
fails:String#unpack with format 'Q' decodes the remaining longs when passed the '*' modifier after another directive
fails:String#unpack with format 'Q' does not decode a long when fewer bytes than a long remain and the '*' modifier is passed
fails:String#unpack with format 'Q' ignores NULL bytes between directives
fails:String#unpack with format 'Q' ignores spaces between directives
fails:String#unpack with format 'Q' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'Q' decodes a long with most significant bit set as a positive number
fails:String#unpack with format 'q' decodes one long for a single format character
fails:String#unpack with format 'q' decodes two longs for two format characters
fails:String#unpack with format 'q' decodes the number of longs requested by the count modifier
fails:String#unpack with format 'q' decodes the remaining longs when passed the '*' modifier
fails:String#unpack with format 'q' decodes the remaining longs when passed the '*' modifier after another directive
fails:String#unpack with format 'q' does not decode a long when fewer bytes than a long remain and the '*' modifier is passed
fails:String#unpack with format 'q' ignores NULL bytes between directives
fails:String#unpack with format 'q' ignores spaces between directives
fails:String#unpack with format 'q' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'q' decodes a long with most significant bit set as a negative number
168 changes: 0 additions & 168 deletions spec/truffle/tags/core/string/unpack/s_tags.txt

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions spec/truffle/tags/core/string/unpack/u_tags.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
fails:String#unpack with format 'U' ignores whitespace in the format string
fails:String#unpack with format 'U' calls #to_str to coerce the directives string
fails:String#unpack with format 'U' raises a TypeError when passed nil
fails:String#unpack with format 'U' raises a TypeError when passed an Integer
fails:String#unpack with format 'U' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'U' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'U' decodes Unicode codepoints as ASCII values
fails:String#unpack with format 'U' decodes the number of characters specified by the count modifier
fails:String#unpack with format 'U' implicitly has a count of one when no count modifier is passed
fails:String#unpack with format 'U' decodes all remaining characters when passed the '*' modifier
fails:String#unpack with format 'U' decodes UTF-8 BMP codepoints
fails:String#unpack with format 'U' decodes UTF-8 max codepoints
fails:String#unpack with format 'U' does not decode any items for directives exceeding the input string size
fails:String#unpack with format 'U' ignores NULL bytes between directives
fails:String#unpack with format 'U' ignores spaces between directives
fails:String#unpack with format 'u' ignores whitespace in the format string
fails:String#unpack with format 'u' calls #to_str to coerce the directives string
fails:String#unpack with format 'u' raises a TypeError when passed nil
fails:String#unpack with format 'u' raises a TypeError when passed an Integer
fails:String#unpack with format 'u' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'u' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'u' decodes an empty string as an empty string
23 changes: 0 additions & 23 deletions spec/truffle/tags/core/string/unpack/v_tags.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
fails:String#unpack with format 'V' ignores whitespace in the format string
fails:String#unpack with format 'V' calls #to_str to coerce the directives string
fails:String#unpack with format 'V' raises a TypeError when passed nil
fails:String#unpack with format 'V' raises a TypeError when passed an Integer
fails:String#unpack with format 'V' decodes one int for a single format character
fails:String#unpack with format 'V' decodes two ints for two format characters
fails:String#unpack with format 'V' decodes the number of ints requested by the count modifier
fails:String#unpack with format 'V' decodes the remaining ints when passed the '*' modifier
fails:String#unpack with format 'V' decodes the remaining ints when passed the '*' modifier after another directive
fails:String#unpack with format 'V' does not decode an int when fewer bytes than an int remain and the '*' modifier is passed
fails:String#unpack with format 'V' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'V' ignores NULL bytes between directives
fails:String#unpack with format 'V' ignores spaces between directives
fails:String#unpack with format 'V' decodes an int with most significant bit set as a positive number
fails:String#unpack with format 'V' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'V' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'v' ignores whitespace in the format string
fails:String#unpack with format 'v' calls #to_str to coerce the directives string
fails:String#unpack with format 'v' raises a TypeError when passed nil
fails:String#unpack with format 'v' raises a TypeError when passed an Integer
fails:String#unpack with format 'v' decodes one short for a single format character
fails:String#unpack with format 'v' decodes two shorts for two format characters
fails:String#unpack with format 'v' decodes the number of shorts requested by the count modifier
fails:String#unpack with format 'v' decodes the remaining shorts when passed the '*' modifier
fails:String#unpack with format 'v' decodes the remaining shorts when passed the '*' modifier after another directive
fails:String#unpack with format 'v' does not decode a short when fewer bytes than a short remain and the '*' modifier is passed
fails:String#unpack with format 'v' adds nil for each element requested beyond the end of the String
fails:String#unpack with format 'v' ignores NULL bytes between directives
fails:String#unpack with format 'v' ignores spaces between directives
fails:String#unpack with format 'v' decodes a short with most significant bit set as a positive number
fails:String#unpack with format 'v' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'v' raises an ArgumentError when the format modifier is '!'
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/string/unpack/w_tags.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
fails:String#unpack with directive 'w' ignores whitespace in the format string
fails:String#unpack with directive 'w' calls #to_str to coerce the directives string
fails:String#unpack with directive 'w' raises a TypeError when passed nil
fails:String#unpack with directive 'w' raises a TypeError when passed an Integer
fails:String#unpack with directive 'w' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with directive 'w' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with directive 'w' decodes a BER-compressed integer
fails:String#unpack with directive 'w' ignores NULL bytes between directives
fails:String#unpack with directive 'w' ignores spaces between directives
13 changes: 0 additions & 13 deletions spec/truffle/tags/core/string/unpack/x_tags.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
fails:String#unpack with format 'X' ignores whitespace in the format string
fails:String#unpack with format 'X' calls #to_str to coerce the directives string
fails:String#unpack with format 'X' raises a TypeError when passed nil
fails:String#unpack with format 'X' raises a TypeError when passed an Integer
fails:String#unpack with format 'X' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'X' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'X' moves the read index back by the number of bytes specified by count
fails:String#unpack with format 'X' does not change the read index when passed a count of zero
fails:String#unpack with format 'X' implicitly has a count of one when count is not specified
fails:String#unpack with format 'X' moves the read index back by the remaining bytes when passed the '*' modifier
fails:String#unpack with format 'X' raises an ArgumentError when passed the '*' modifier if the remaining bytes exceed the bytes from the index to the start of the String
fails:String#unpack with format 'X' raises an ArgumentError if the count exceeds the bytes from current index to the start of the String
fails:String#unpack with format 'x' ignores whitespace in the format string
fails:String#unpack with format 'x' calls #to_str to coerce the directives string
fails:String#unpack with format 'x' raises a TypeError when passed nil
fails:String#unpack with format 'x' raises a TypeError when passed an Integer
fails:String#unpack with format 'x' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'x' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'x' moves the read index forward by the number of bytes specified by count
fails:String#unpack with format 'x' implicitly has a count of one when count is not specified
fails:String#unpack with format 'x' does not change the read index when passed a count of zero
fails:String#unpack with format 'x' moves the read index to the end of the string when passed the '*' modifier
fails:String#unpack with format 'x' positions the read index one beyond the last readable byte in the String
fails:String#unpack with format 'x' raises an ArgumentError if the count exceeds the size of the String
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/string/unpack/z_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:String#unpack with format 'Z' ignores whitespace in the format string
fails:String#unpack with format 'Z' calls #to_str to coerce the directives string
fails:String#unpack with format 'Z' raises a TypeError when passed nil
fails:String#unpack with format 'Z' raises a TypeError when passed an Integer
fails:String#unpack with format 'Z' raises an ArgumentError when the format modifier is '_'
fails:String#unpack with format 'Z' raises an ArgumentError when the format modifier is '!'
fails:String#unpack with format 'Z' returns an empty string if the input is empty
Original file line number Diff line number Diff line change
@@ -1985,7 +1985,7 @@ public RubyString pack(VirtualFrame frame, RubyArray array, RubyString format) {
} else if (result instanceof RubyString) {
jrubyObjects[n] = getContext().toJRuby((RubyString) result);
} else {
throw new UnsupportedOperationException();
throw new RaiseException(getContext().getCoreLibrary().typeErrorNoImplicitConversion(objects[n], "String", this));
}
}
}
Original file line number Diff line number Diff line change
@@ -402,6 +402,8 @@ public RubyException toTruffle(org.jruby.RubyException jrubyException, RubyNode
switch (jrubyException.getMetaClass().getName()) {
case "ArgumentError":
return getCoreLibrary().argumentError(jrubyException.getMessage().toString(), currentNode);
case "TypeError":
return getCoreLibrary().typeError(jrubyException.getMessage().toString(), currentNode);
}

throw new UnsupportedOperationException("Don't know how to translate " + jrubyException.getMetaClass().getName());
Original file line number Diff line number Diff line change
@@ -19,6 +19,8 @@
*/
public class RaiseException extends RuntimeException {

// TODO CS 1-Mar-15 shouldn't this be a ControlFlowException?

private transient final RubyException rubyException;

public RaiseException(RubyException rubyException) {