Skip to content

Commit

Permalink
[Truffle] False positive on some specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Jan 7, 2015
1 parent 4a6aa1a commit 0e47d16
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/c_tags.txt
Expand Up @@ -20,3 +20,5 @@ fails:Array#pack with format 'c' raises a TypeError when the object does not res
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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/d_tags.txt
Expand Up @@ -20,3 +20,5 @@ fails:Array#pack with format 'd' raises a TypeError if a String does not represe
fails:Array#pack with format 'd' raises a TypeError when the object does not respond to #to_f
fails:Array#pack with format 'd' raises a TypeError if passed a String representation of a floating point number
fails:Array#pack with format 'd' encodes NaN
fails:Array#pack with format 'D' raises a TypeError when passed nil
fails:Array#pack with format 'd' raises a TypeError when passed nil
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/e_tags.txt
Expand Up @@ -20,3 +20,5 @@ fails:Array#pack with format 'e' raises a TypeError if a String does not represe
fails:Array#pack with format 'e' raises a TypeError when the object does not respond to #to_f
fails:Array#pack with format 'e' raises a TypeError if passed a String representation of a floating point number
fails:Array#pack with format 'e' encodes NaN
fails:Array#pack with format 'E' raises a TypeError when passed nil
fails:Array#pack with format 'e' raises a TypeError when passed nil
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/f_tags.txt
Expand Up @@ -20,3 +20,5 @@ fails:Array#pack with format 'f' raises a TypeError if a String does not represe
fails:Array#pack with format 'f' raises a TypeError when the object does not respond to #to_f
fails:Array#pack with format 'f' raises a TypeError if passed a String representation of a floating point number
fails:Array#pack with format 'f' encodes NaN
fails:Array#pack with format 'F' raises a TypeError when passed nil
fails:Array#pack with format 'f' raises a TypeError when passed nil
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/g_tags.txt
Expand Up @@ -20,3 +20,5 @@ fails:Array#pack with format 'g' raises a TypeError if a String does not represe
fails:Array#pack with format 'g' raises a TypeError when the object does not respond to #to_f
fails:Array#pack with format 'g' raises a TypeError if passed a String representation of a floating point number
fails:Array#pack with format 'g' encodes NaN
fails:Array#pack with format 'G' raises a TypeError when passed nil
fails:Array#pack with format 'g' raises a TypeError when passed nil
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/i_tags.txt
Expand Up @@ -28,3 +28,5 @@ 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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/l_tags.txt
Expand Up @@ -140,3 +140,5 @@ 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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/n_tags.txt
Expand Up @@ -20,3 +20,5 @@ 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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/q_tags.txt
Expand Up @@ -44,3 +44,5 @@ 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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/s_tags.txt
Expand Up @@ -32,3 +32,5 @@ 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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/pack/v_tags.txt
Expand Up @@ -20,3 +20,5 @@ 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
1 change: 1 addition & 0 deletions spec/truffle/tags/core/array/pack/w_tags.txt
Expand Up @@ -7,3 +7,4 @@ 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
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/array/sort_tags.txt
Expand Up @@ -17,3 +17,5 @@ fails:Array#sort! does not call #<=> on elements when invoked with a block even
fails:Array#sort! raises a RuntimeError on a frozen array
fails:Array#sort! returns the specified value when it would break in the given block
fails:Array#sort! makes some modification even if finished sorting when it would break in the given block
fails:Array#sort sorts an array that has a value shifted off without a block
fails:Array#sort sorts an array that has a value shifted off with a block
1 change: 1 addition & 0 deletions spec/truffle/tags/core/bignum/bit_or_tags.txt
@@ -1 +1,2 @@
fails:Bignum#| raises a TypeError when passed a Float
fails:Bignum#| returns self bitwise OR other when one operand is negative
1 change: 1 addition & 0 deletions spec/truffle/tags/core/bignum/divmod_tags.txt
@@ -1,2 +1,3 @@
fails:Bignum#divmod returns an Array containing quotient and modulus obtained from dividing self by the given argument
fails:Bignum#divmod raises a FloatDomainError if other is NaN
fails:Bignum#divmod raises a ZeroDivisionError when the given argument is 0 and a Float
1 change: 1 addition & 0 deletions spec/truffle/tags/core/bignum/modulo_tags.txt
Expand Up @@ -3,3 +3,4 @@ fails:Bignum#modulo returns the modulus obtained from dividing self by the given
fails:Bignum#modulo raises a ZeroDivisionError when the given argument is 0
fails:Bignum#modulo raises a ZeroDivisionError when the given argument is 0 and a Float
fails:Bignum#modulo raises a TypeError when given a non-Integer
fails:Bignum#% raises a ZeroDivisionError when the given argument is 0 and a Float

0 comments on commit 0e47d16

Please sign in to comment.