File tree 16 files changed +28
-0
lines changed
16 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'c' raises a TypeError when the object does not res
20
20
fails:Array#pack with format 'c' raises a TypeError when passed a String
21
21
fails:Array#pack with format 'c' raises ArgumentError when the format modifier is '_'
22
22
fails:Array#pack with format 'c' raises ArgumentError when the format modifier is '!'
23
+ fails:Array#pack with format 'C' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'c' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'd' raises a TypeError if a String does not represe
20
20
fails:Array#pack with format 'd' raises a TypeError when the object does not respond to #to_f
21
21
fails:Array#pack with format 'd' raises a TypeError if passed a String representation of a floating point number
22
22
fails:Array#pack with format 'd' encodes NaN
23
+ fails:Array#pack with format 'D' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'd' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'e' raises a TypeError if a String does not represe
20
20
fails:Array#pack with format 'e' raises a TypeError when the object does not respond to #to_f
21
21
fails:Array#pack with format 'e' raises a TypeError if passed a String representation of a floating point number
22
22
fails:Array#pack with format 'e' encodes NaN
23
+ fails:Array#pack with format 'E' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'e' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'f' raises a TypeError if a String does not represe
20
20
fails:Array#pack with format 'f' raises a TypeError when the object does not respond to #to_f
21
21
fails:Array#pack with format 'f' raises a TypeError if passed a String representation of a floating point number
22
22
fails:Array#pack with format 'f' encodes NaN
23
+ fails:Array#pack with format 'F' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'f' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'g' raises a TypeError if a String does not represe
20
20
fails:Array#pack with format 'g' raises a TypeError when the object does not respond to #to_f
21
21
fails:Array#pack with format 'g' raises a TypeError if passed a String representation of a floating point number
22
22
fails:Array#pack with format 'g' encodes NaN
23
+ fails:Array#pack with format 'G' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'g' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -28,3 +28,5 @@ fails:Array#pack with format 'i' with modifier '>' and '_' calls #to_int to conv
28
28
fails:Array#pack with format 'i' with modifier '>' and '!' calls #to_int to convert the pack argument to an Integer
29
29
fails:Array#pack with format 'I' calls #to_int to convert the pack argument to an Integer
30
30
fails:Array#pack with format 'i' calls #to_int to convert the pack argument to an Integer
31
+ fails:Array#pack with format 'I' raises a TypeError when passed nil
32
+ fails:Array#pack with format 'i' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -140,3 +140,5 @@ fails:Array#pack with format 'l' with modifier '_' encodes the least significant
140
140
fails:Array#pack with format 'l' with modifier '_' encodes the least significant 32 bits of a negative number
141
141
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 32 bits of a positive number
142
142
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 32 bits of a negative number
143
+ fails:Array#pack with format 'L' raises a TypeError when passed nil
144
+ fails:Array#pack with format 'l' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'n' raises a TypeError when passed a String
20
20
fails:Array#pack with format 'n' raises ArgumentError when the format modifier is '_'
21
21
fails:Array#pack with format 'n' raises ArgumentError when the format modifier is '!'
22
22
fails:Array#pack with format 'n' calls #to_int to convert the pack argument to an Integer
23
+ fails:Array#pack with format 'N' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'n' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -44,3 +44,5 @@ fails:Array#pack with format 'q' encodes the number of array elements specified
44
44
fails:Array#pack with format 'q' encodes all remaining elements when passed the '*' modifier
45
45
fails:Array#pack with format 'q' ignores NULL bytes between directives
46
46
fails:Array#pack with format 'q' ignores spaces between directives
47
+ fails:Array#pack with format 'Q' raises a TypeError when passed nil
48
+ fails:Array#pack with format 'q' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -32,3 +32,5 @@ fails:Array#pack with format 'S' with modifier '!' calls #to_int to convert the
32
32
fails:Array#pack with format 's' calls #to_int to convert the pack argument to an Integer
33
33
fails:Array#pack with format 's' with modifier '_' calls #to_int to convert the pack argument to an Integer
34
34
fails:Array#pack with format 's' with modifier '!' calls #to_int to convert the pack argument to an Integer
35
+ fails:Array#pack with format 'S' raises a TypeError when passed nil
36
+ fails:Array#pack with format 's' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ fails:Array#pack with format 'v' raises a TypeError when passed a String
20
20
fails:Array#pack with format 'v' raises ArgumentError when the format modifier is '_'
21
21
fails:Array#pack with format 'v' raises ArgumentError when the format modifier is '!'
22
22
fails:Array#pack with format 'v' calls #to_int to convert the pack argument to an Integer
23
+ fails:Array#pack with format 'V' raises a TypeError when passed nil
24
+ fails:Array#pack with format 'v' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ fails:Array#pack with format 'w' raises a TypeError when passed false
7
7
fails:Array#pack with format 'w' encodes a BER-compressed integer
8
8
fails:Array#pack with format 'w' calls #to_int to convert the pack argument to an Integer
9
9
fails:Array#pack with format 'w' raises an ArgumentError when passed a negative value
10
+ fails:Array#pack with format 'w' raises a TypeError when passed nil
Original file line number Diff line number Diff line change @@ -17,3 +17,5 @@ fails:Array#sort! does not call #<=> on elements when invoked with a block even
17
17
fails:Array#sort! raises a RuntimeError on a frozen array
18
18
fails:Array#sort! returns the specified value when it would break in the given block
19
19
fails:Array#sort! makes some modification even if finished sorting when it would break in the given block
20
+ fails:Array#sort sorts an array that has a value shifted off without a block
21
+ fails:Array#sort sorts an array that has a value shifted off with a block
Original file line number Diff line number Diff line change 1
1
fails:Bignum#| raises a TypeError when passed a Float
2
+ fails:Bignum#| returns self bitwise OR other when one operand is negative
Original file line number Diff line number Diff line change 1
1
fails:Bignum#divmod returns an Array containing quotient and modulus obtained from dividing self by the given argument
2
2
fails:Bignum#divmod raises a FloatDomainError if other is NaN
3
+ fails:Bignum#divmod raises a ZeroDivisionError when the given argument is 0 and a Float
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ fails:Bignum#modulo returns the modulus obtained from dividing self by the given
3
3
fails:Bignum#modulo raises a ZeroDivisionError when the given argument is 0
4
4
fails:Bignum#modulo raises a ZeroDivisionError when the given argument is 0 and a Float
5
5
fails:Bignum#modulo raises a TypeError when given a non-Integer
6
+ fails:Bignum#% raises a ZeroDivisionError when the given argument is 0 and a Float
You can’t perform that action at this time.
0 commit comments