Skip to content

Commit bdef4cf

Browse files
committed
Untag passing specs in ruby/language
1 parent 238e24e commit bdef4cf

16 files changed

+1
-47
lines changed

spec/tags/language/END_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ slow:The END keyword runs only once for multiple calls
1111
slow:The END keyword warns when END is used in a method
1212
slow:The END keyword END blocks and at_exit callbacks are mixed runs them all in reverse order of registration
1313
slow:The END keyword is affected by the toplevel assignment
14-
fails(prism, https://github.com/ruby/prism/issues/2082):The END keyword warns when END is used in a method
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
fails:Assignments using += using compounded constants causes side-effects of the module part to be applied only once (when assigns)
2-
fails:Assignments using += using an accessor ignores method visibility when receiver is self
3-
fails:Assignments using += using a #[] ignores method visibility when receiver is self
41
fails:Assignments using += using a #[] splatted argument calls #to_a only once

spec/tags/language/block_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/tags/language/def_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
fails:An instance method raises FrozenError with the correct class name
21
fails:A singleton method definition raises FrozenError with the correct class name
3-
fails:An instance method with a default argument raises a SyntaxError when there is an existing method with the same name as the local variable

spec/tags/language/defined_tags.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
fails:The defined? keyword for a scoped constant returns nil when a constant is defined on top-level but not on the class
2-
fails:The defined? keyword for a scoped constant returns nil when an undefined constant is scoped to a defined constant
3-
fails:The defined? keyword for a top-level scoped constant returns nil when an undefined constant is scoped to a defined constant
4-
fails:The defined? keyword for a self-send method call scoped constant returns nil if the last constant is not defined in the scope chain
5-
fails:The defined? keyword for a receiver method call scoped constant returns nil if the last constant is not defined in the scope chain
6-
fails:The defined? keyword for a module method call scoped constant returns nil if the last constant in the scope chain is not defined
7-
fails:The defined? keyword for a variable scoped constant returns nil if the instance scoped constant is not defined
8-
fails:The defined? keyword for a variable scoped constant returns nil if the global scoped constant is not defined
9-
fails:The defined? keyword for a variable scoped constant returns nil if the class scoped constant is not defined
10-
fails:The defined? keyword for a variable scoped constant returns nil if the local scoped constant is not defined
112
fails:The defined? keyword when called with a method name in a void context warns about the void context when parsing it
12-
fails:The defined? keyword for an expression returns 'expression' for an assigning a fully qualified constant with '+='
133
fails:The defined? keyword for an expression &&= returns 'expression' for assigning a fully qualified constant with '&&='
144
fails:The defined? keyword for an expression ||= returns 'expression' for assigning a fully qualified constant with '||='

spec/tags/language/lambda_tags.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

spec/tags/language/magic_comment_tags.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,9 @@ slow:Magic comments in an -e argument are optional
4747
slow:Magic comments in an -e argument are case-insensitive
4848
slow:Magic comments in an -e argument must be at the first line
4949
slow:Magic comments in an -e argument must be the first token of the line
50+
fails:Magic comments in an -e argument do not cause bytes to be mangled by passing them through the wrong encoding
5051
slow:Magic comments in an -e argument can be after the shebang
5152
slow:Magic comments in an -e argument can take Emacs style
5253
slow:Magic comments in an -e argument can take vim style
5354
slow:Magic comments in an -e argument determine __ENCODING__
5455
slow:Magic comments in an -e argument do not cause bytes to be mangled by passing them through the wrong encoding
55-
fails:Magic comments in an -e argument are case-insensitive
56-
fails:Magic comments in an -e argument can be after the shebang
57-
fails:Magic comments in an -e argument can take Emacs style
58-
fails:Magic comments in an -e argument can take vim style
59-
fails:Magic comments in an -e argument determine __ENCODING__
60-
fails:Magic comments in an -e argument do not cause bytes to be mangled by passing them through the wrong encoding

spec/tags/language/method_tags.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
fails:An endless method definition without arguments for definition 'def m() = 42'
2-
fails:An endless method definition with arguments for definition 'def m(a, b) = a + b'
3-
fails:"An endless method definition with multiline body for definition \n def m(n) =\n if n > 2\n m(n - 2) + m(n - 1)\n else\n 1\n end"
4-
fails:"An endless method definition with args forwarding for definition \n def mm(word, num:)\n word * num\n end\n def m(...) = mm(...) + mm(...)"
5-
fails:kwarg with omitted value in a method call accepts short notation 'kwarg' in method call for definition 'def call(*args, **kwargs) = [args, kwargs]'
6-
fails:"kwarg with omitted value in a method call with methods and local variables for definition \n def call(*args, **kwargs) = [args, kwargs]\n def bar\n "baz"\n end\n def foo(val)\n call bar:, val:\n end"
7-
fails:An endless method definition without arguments without parenthesis for definition 'def m = 42'
8-
fails:Inside 'endless' method definitions allows method calls without parenthesis
91
fails:A method assigns local variables from method parameters for definition 'def m(a, **nil); a end;'

spec/tags/language/numbers_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
fails:Optional constant assignment with &&= causes side-effects of the module part to be applied only once (when assigns)
2-
fails:Optional variable assignments using ||= using a #[] ignores method visibility when receiver is self
3-
fails:Optional variable assignments using &&= using a #[] ignores method visibility when receiver is self
41
fails:Optional variable assignments using ||= using a #[] splatted argument calls #to_a only once
52
fails:Optional variable assignments using &&= using a #[] splatted argument calls #to_a only once

spec/tags/language/regexp/character_classes_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/tags/language/regexp/grouping_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/tags/language/regexp/modifiers_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/tags/language/regexp_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
fails(https://github.com/ruby/prism/issues/2115):Literal Regexps matches against $_ (last input) in a conditional if no explicit matchee provided
2-
fails(https://github.com/ruby/prism/issues/2116):Literal Regexps throws SyntaxError for malformed literals

spec/tags/language/super_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/tags/language/symbol_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
slow:A Symbol literal inherits the encoding of the magic comment and can have a binary encoding
2-
fails(cannot parse a Symbol with binary encoding and non-ASCII characters):A Symbol literal inherits the encoding of the magic comment and can have a binary encoding
32
fails(https://github.com/ruby/prism/issues/2129):A Symbol literal raises an EncodingError at parse time when Symbol with invalid bytes

0 commit comments

Comments
 (0)