Skip to content

Commit 1dbb3da

Browse files
committed
Add tags for failing def specs, due to old error message
1 parent d257960 commit 1dbb3da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
fails:A nested method definition creates a method in the surrounding context when evaluated in a def expr.method
22
fails:A method definition always resets the visibility to public for nested definitions at the toplevel
3+
fails:An instance method raises an error with too few arguments
4+
fails:An instance method raises an error with too many arguments
5+
fails:An instance method definition with a splat requires the presence of any arguments that precede the *
6+
fails:An instance method with a default argument evaluates the default when required arguments precede it
7+
fails:An instance method with a default argument prefers to assign to a default argument before a splat argument
8+
fails:a method definition that sets more than one default parameter all to the same value only allows overriding the default value of the first such parameter in each set
9+
fails:a method definition that sets more than one default parameter all to the same value treats the argument after the multi-parameter normally

0 commit comments

Comments
 (0)