Skip to content

Commit

Permalink
Untag passing specs in ruby/language
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Jan 31, 2024
1 parent 238e24e commit bdef4cf
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 47 deletions.
1 change: 0 additions & 1 deletion spec/tags/language/END_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ slow:The END keyword runs only once for multiple calls
slow:The END keyword warns when END is used in a method
slow:The END keyword END blocks and at_exit callbacks are mixed runs them all in reverse order of registration
slow:The END keyword is affected by the toplevel assignment
fails(prism, https://github.com/ruby/prism/issues/2082):The END keyword warns when END is used in a method
3 changes: 0 additions & 3 deletions spec/tags/language/assignments_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
fails:Assignments using += using compounded constants causes side-effects of the module part to be applied only once (when assigns)
fails:Assignments using += using an accessor ignores method visibility when receiver is self
fails:Assignments using += using a #[] ignores method visibility when receiver is self
fails:Assignments using += using a #[] splatted argument calls #to_a only once
2 changes: 0 additions & 2 deletions spec/tags/language/block_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/language/def_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:An instance method raises FrozenError with the correct class name
fails:A singleton method definition raises FrozenError with the correct class name
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
10 changes: 0 additions & 10 deletions spec/tags/language/defined_tags.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
fails:The defined? keyword for a scoped constant returns nil when a constant is defined on top-level but not on the class
fails:The defined? keyword for a scoped constant returns nil when an undefined constant is scoped to a defined constant
fails:The defined? keyword for a top-level scoped constant returns nil when an undefined constant is scoped to a defined constant
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
fails:The defined? keyword for a receiver method call scoped constant returns nil if the last constant is not defined in the scope chain
fails:The defined? keyword for a module method call scoped constant returns nil if the last constant in the scope chain is not defined
fails:The defined? keyword for a variable scoped constant returns nil if the instance scoped constant is not defined
fails:The defined? keyword for a variable scoped constant returns nil if the global scoped constant is not defined
fails:The defined? keyword for a variable scoped constant returns nil if the class scoped constant is not defined
fails:The defined? keyword for a variable scoped constant returns nil if the local scoped constant is not defined
fails:The defined? keyword when called with a method name in a void context warns about the void context when parsing it
fails:The defined? keyword for an expression returns 'expression' for an assigning a fully qualified constant with '+='
fails:The defined? keyword for an expression &&= returns 'expression' for assigning a fully qualified constant with '&&='
fails:The defined? keyword for an expression ||= returns 'expression' for assigning a fully qualified constant with '||='
4 changes: 0 additions & 4 deletions spec/tags/language/lambda_tags.txt

This file was deleted.

7 changes: 1 addition & 6 deletions spec/tags/language/magic_comment_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,9 @@ slow:Magic comments in an -e argument are optional
slow:Magic comments in an -e argument are case-insensitive
slow:Magic comments in an -e argument must be at the first line
slow:Magic comments in an -e argument must be the first token of the line
fails:Magic comments in an -e argument do not cause bytes to be mangled by passing them through the wrong encoding
slow:Magic comments in an -e argument can be after the shebang
slow:Magic comments in an -e argument can take Emacs style
slow:Magic comments in an -e argument can take vim style
slow:Magic comments in an -e argument determine __ENCODING__
slow:Magic comments in an -e argument do not cause bytes to be mangled by passing them through the wrong encoding
fails:Magic comments in an -e argument are case-insensitive
fails:Magic comments in an -e argument can be after the shebang
fails:Magic comments in an -e argument can take Emacs style
fails:Magic comments in an -e argument can take vim style
fails:Magic comments in an -e argument determine __ENCODING__
fails:Magic comments in an -e argument do not cause bytes to be mangled by passing them through the wrong encoding
8 changes: 0 additions & 8 deletions spec/tags/language/method_tags.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
fails:An endless method definition without arguments for definition 'def m() = 42'
fails:An endless method definition with arguments for definition 'def m(a, b) = a + b'
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"
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(...)"
fails:kwarg with omitted value in a method call accepts short notation 'kwarg' in method call for definition 'def call(*args, **kwargs) = [args, kwargs]'
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"
fails:An endless method definition without arguments without parenthesis for definition 'def m = 42'
fails:Inside 'endless' method definitions allows method calls without parenthesis
fails:A method assigns local variables from method parameters for definition 'def m(a, **nil); a end;'
1 change: 0 additions & 1 deletion spec/tags/language/numbers_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/tags/language/optional_assignments_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
fails:Optional constant assignment with &&= causes side-effects of the module part to be applied only once (when assigns)
fails:Optional variable assignments using ||= using a #[] ignores method visibility when receiver is self
fails:Optional variable assignments using &&= using a #[] ignores method visibility when receiver is self
fails:Optional variable assignments using ||= using a #[] splatted argument calls #to_a only once
fails:Optional variable assignments using &&= using a #[] splatted argument calls #to_a only once
1 change: 0 additions & 1 deletion spec/tags/language/regexp/character_classes_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/language/regexp/grouping_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/language/regexp/modifiers_tags.txt

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/language/symbol_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
slow:A Symbol literal inherits the encoding of the magic comment and can have a binary encoding
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
fails(https://github.com/ruby/prism/issues/2129):A Symbol literal raises an EncodingError at parse time when Symbol with invalid bytes

0 comments on commit bdef4cf

Please sign in to comment.