13514
|
1 fails:A block allows to define a block variable with the same name as the enclosing block
|
|
2 fails:A block taking |a| arguments assigns nil to the argument when no values are yielded
|
|
3 fails:A block taking |a| arguments does not call #to_ary to convert a single yielded object to an Array
|
|
4 fails:A block taking |a| arguments assigns the first value yielded to the argument
|
|
5 fails:A block taking |a, b| arguments assgins nil to the arguments when no values are yielded
|
|
6 fails:A block taking |a, b| arguments assigns one value yielded to the first argument
|
|
7 fails:A block taking |a, b| arguments destructures a splatted Array
|
|
8 fails:A block taking |a, b| arguments calls #to_ary to convert a single yielded object to an Array
|
|
9 fails:A block taking |a, b| arguments does not call #to_ary if the single yielded object is an Array
|
|
10 fails:A block taking |a, b| arguments does not call #to_ary if the object does not respond to #to_ary
|
|
11 fails:A block taking |a, b| arguments raises an TypeError if #to_ary does not return an Array
|
|
12 fails:A block taking |a, *b| arguments assigns 'nil' and '[]' to the arguments when no values are yielded
|
|
13 fails:A block taking |a, *b| arguments assigns all yielded values after the first to the rest argument
|
|
14 fails:A block taking |a, *b| arguments assigns 'nil' and '[]' to the arguments when a single, empty Array is yielded
|
|
15 fails:A block taking |a, *b| arguments assigns the element of a single element Array to the first argument
|
|
16 fails:A block taking |a, *b| arguments destructures a splatted Array
|
|
17 fails:A block taking |a, *b| arguments destructures a single Array value assigning the remaining values to the rest argument
|
|
18 fails:A block taking |a, *b| arguments calls #to_ary to convert a single yielded object to an Array
|
|
19 fails:A block taking |a, *b| arguments does not call #to_ary if the single yielded object is an Array
|
|
20 fails:A block taking |a, *b| arguments raises an TypeError if #to_ary does not return an Array
|
|
21 fails:A block taking |*| arguments does not call #to_ary if the single yielded object is an Array
|
|
22 fails:A block taking |*| arguments does not call #to_ary to convert a single yielded object to an Array
|
|
23 fails:A block taking |*a| arguments assigns all the values passed to the argument as an Array
|
|
24 fails:A block taking |*a| arguments assigns '[[]]' to the argument when passed an empty Array
|
|
25 fails:A block taking |*a| arguments assigns a single Array value passed to the argument by wrapping it in an Array
|
|
26 fails:A block taking |*a| arguments does not call #to_ary if the single yielded object is an Array
|
|
27 fails:A block taking |*a| arguments does not call #to_ary to convert a single yielded object to an Array
|
|
28 fails:A block taking |a, | arguments assigns nil to the argument when no values are yielded
|
|
29 fails:A block taking |a, | arguments assigns the argument the first value yielded
|
|
30 fails:A block taking |a, | arguments assigns the argument the first of several values yielded when it is an Array
|
|
31 fails:A block taking |a, | arguments assigns nil to the argument when passed an empty Array
|
|
32 fails:A block taking |a, | arguments assigns the argument the first element of the Array when passed a single Array
|
|
33 fails:A block taking |a, | arguments calls #to_ary to convert a single yielded object to an Array
|
|
34 fails:A block taking |a, | arguments does not call #to_ary if the single yielded object is an Array
|
|
35 fails:A block taking |a, | arguments raises an TypeError if #to_ary does not return an Array
|
|
36 fails:A block taking |(a, b)| arguments assigns nil to the arguments when yielded no values
|
|
37 fails:A block taking |(a, b)| arguments calls #to_ary to convert a single yielded object to an Array
|
|
38 fails:A block taking |(a, b)| arguments does not call #to_ary if the single yielded object is an Array
|
|
39 fails:A block taking |(a, b)| arguments does not call #to_ary if the object does not respond to #to_ary
|
|
40 fails:A block taking |(a, b)| arguments raises an TypeError if #to_ary does not return an Array
|
|
41 fails:A block taking |(a, b), c| arguments assigns nil to the arguments when yielded no values
|
|
42 fails:A block taking |(a, b), c| arguments destructures a single one-level Array value yielded
|
|
43 fails:A block taking |(a, b), c| arguments destructures a single multi-level Array value yielded
|
|
44 fails:A block taking |(a, b), c| arguments calls #to_ary to convert a single yielded object to an Array
|
|
45 fails:A block taking |(a, b), c| arguments does not call #to_ary if the single yielded object is an Array
|
|
46 fails:A block taking |(a, b), c| arguments does not call #to_ary if the object does not respond to #to_ary
|
|
47 fails:A block taking |(a, b), c| arguments raises an TypeError if #to_ary does not return an Array
|
|
48 fails:A block taking nested |a, (b, (c, d))| destructures a single multi-level Array value yielded
|
|
49 fails:A block taking nested |a, (b, (c, d))| destructures a single multi-level Array value yielded
|
|
50 fails:A block taking nested |a, ((b, c), d)| destructures a single multi-level Array value yielded
|
|
51 fails:A block taking nested |a, ((b, c), d)| destructures a single multi-level Array value yielded
|
|
52 fails:A block arguments with _ extracts arguments with _
|
|
53 fails:Block-local variables override shadowed variables from the outer scope
|
|
54 fails:Post-args appear after a splat
|
|
55 fails:Post-args are required
|
|
56 fails:Post-args with required args gathers remaining args in the splat
|
|
57 fails:Post-args with required args has an empty splat when there are no remaining args
|
|
58 fails:Post-args with optional args gathers remaining args in the splat
|
|
59 fails:Post-args with optional args overrides the optional arg before gathering in the splat
|
|
60 fails:Post-args with optional args uses the required arg before the optional and the splat
|
|
61 fails:Post-args with optional args overrides the optional args from left to right before gathering the splat
|
|
62 fails:A block taking |(a, b)| arguments destructures a single Array value yielded
|
|
63 fails:A block taking |(a, b)| arguments destructures a single Array value yielded when shadowing an outer variable
|
|
64 fails:A block taking nested |a, (b, (c, d))| assigns nil to the arguments when yielded no values
|
|
65 fails:A block taking nested |a, (b, (c, d))| destructures separate yielded values
|
|
66 fails:A block taking nested |a, ((b, c), d)| assigns nil to the arguments when yielded no values
|
|
67 fails:A block taking nested |a, ((b, c), d)| destructures separate yielded values
|