Skip to content

Commit 92ed4d9

Browse files
andrykonchineregon
authored andcommitted
[GR-19220] Untag passing ruby/specs
PullRequest: truffleruby/4145
2 parents 610cea3 + 690c93c commit 92ed4d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3
-119
lines changed

spec/tags/core/binding/irb_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
slow:Binding#irb creates an IRB session with the binding in scope
2-
fails:Binding#irb creates an IRB session with the binding in scope

spec/tags/core/dir/element_reference_tags.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
fails:Dir.[] result is sorted by default
2-
fails:Dir.[] result is sorted with sort: true
3-
fails:Dir.[] sort: false returns same files
41
fails:Dir.[] raises an ArgumentError if sort: is not true or false
52
fails:Dir.[] matches dotfiles except .. with '.*'
63
fails:Dir.[] matches dotfiles in the current directory except .. with '.**'

spec/tags/core/encoding/list_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
fails:Enumerator.new when passed a block defines iteration with block, yielder argument and treating it as a proc
21
fails:Enumerator.new no block given raises

spec/tags/core/exception/no_method_error_tags.txt

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

spec/tags/core/file/expand_path_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ slow:File.expand_path raises an Encoding::CompatibilityError if the external enc
1919
slow:File.expand_path does not modify the string argument
2020
slow:File.expand_path does not modify a HOME string argument
2121
slow:File.expand_path returns a String when passed a String subclass
22-
fails:File.expand_path when HOME is not set uses the user database when passed '~' if HOME is nil
23-
fails:File.expand_path when HOME is not set uses the user database when passed '~/' if HOME is nil

spec/tags/core/file/printf_tags.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,5 @@ fails:File#printf other formats c supports Unicode characters
33
fails:File#printf other formats s does not try to convert with to_str
44
fails:File#printf flags # applies to format o does nothing for negative argument
55
fails:File#printf flags # applies to formats bBxX does nothing for zero argument
6-
fails:File#printf flags # applies to formats aAeEfgG forces a decimal point to be added, even if no digits follow
7-
fails:File#printf flags # applies to gG does not remove trailing zeros
8-
fails:File#printf flags - left-justifies the result of conversion if width is specified
9-
fails:File#printf flags 0 (zero) applies to numeric formats bBdiouxXaAeEfgG and width is specified uses radix-1 when displays negative argument as a two's complement
10-
fails:File#printf flags * left-justifies the result if width is negative
11-
fails:File#printf flags * left-justifies the result if specified with $ argument is negative
12-
fails:File#printf precision string formats determines the maximum number of characters to be copied from the string
13-
fails:File#printf reference by name %{name} style supports flags, width and precision
14-
fails:File#printf other formats % alone raises an ArgumentError
156
fails:File#printf other formats c displays only the first character if argument is a string of several characters
167
fails:File#printf other formats c displays no characters if argument is an empty string

spec/tags/core/integer/chr_tags.txt

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

spec/tags/core/io/for_fd_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
fails:IO.for_fd ignores the :encoding option when the :external_encoding option is present
22
fails:IO.for_fd ignores the :encoding option when the :internal_encoding option is present
3-
fails:IO.for_fd raises ArgumentError for nil options
4-
fails:IO.for_fd raises ArgumentError if passed a hash for mode and nil for options

spec/tags/core/io/new_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
fails:IO.new ignores the :encoding option when the :external_encoding option is present
22
fails:IO.new ignores the :encoding option when the :internal_encoding option is present
3-
fails:IO.new raises ArgumentError for nil options
4-
fails:IO.new raises ArgumentError if passed a hash for mode and nil for options

spec/tags/core/io/open_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
fails:IO.open propagates an exception raised by #close that is a StandardError
22
fails:IO.open ignores the :encoding option when the :external_encoding option is present
33
fails:IO.open ignores the :encoding option when the :internal_encoding option is present
4-
fails:IO.open raises ArgumentError for nil options
5-
fails:IO.open raises ArgumentError if passed a hash for mode and nil for options

spec/tags/core/kernel/Complex_tags.txt

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

spec/tags/core/kernel/proc_tags.txt

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

spec/tags/core/kernel/warn_tags.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ slow:Kernel#warn does not call Warning.warn if self is the Warning module
44
slow:Kernel#warn avoids recursion if Warning#warn is redefined and calls super
55
slow:Kernel#warn :uplevel keyword argument skips <internal: core library methods defined in Ruby
66
fails:Kernel#warn :uplevel keyword argument skips <internal: core library methods defined in Ruby
7-
fails:Kernel#warn :uplevel keyword argument accepts :category keyword with a symbol
8-
fails:Kernel#warn :uplevel keyword argument accepts :category keyword with nil
9-
fails:Kernel#warn :uplevel keyword argument accepts :category keyword with object convertible to symbol
10-
fails:Kernel#warn :uplevel keyword argument raises if :category keyword is not nil and not convertible to symbol

spec/tags/core/main/private_tags.txt

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

spec/tags/core/main/public_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
fails:Module#class_eval activates refinements from the eval scope
2-
fails:Module#class_eval activates refinements from the eval scope with block
32
fails:Module#class_eval raises an ArgumentError when more than 3 arguments are given

spec/tags/core/module/const_added_tags.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
fails:Module#module_eval activates refinements from the eval scope
2-
fails:Module#module_eval activates refinements from the eval scope with block
32
fails:Module#module_eval raises an ArgumentError when more than 3 arguments are given
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
fails:Module#prepend reports the class for the owner of a method aliased from the prepended module
21
fails:Module#prepend uses only new module when dupping the module
32
fails:Module#prepend prepends a module if it is included in a super class

spec/tags/core/numeric/step_tags.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
fails:Numeric#step with positional args when no block is given returns an Enumerator::ArithmeticSequence when step is 0
2-
fails:Numeric#step with positional args when no block is given returns an Enumerator::ArithmeticSequence when not passed a block and self > stop
3-
fails:Numeric#step with positional args when no block is given returns an Enumerator::ArithmeticSequence when not passed a block and self < stop
42
fails:Numeric#step with positional args when no block is given returns an Enumerator::ArithmeticSequence when step is 0.0
53
fails:Numeric#step with positional args when no block is given returned Enumerator::ArithmeticSequence size is infinity when step is 0
64
fails:Numeric#step with positional args when no block is given returned Enumerator::ArithmeticSequence size is infinity when step is 0.0
7-
fails:Numeric#step with positional args when no block is given returned Enumerator::ArithmeticSequence type returns an instance of Enumerator::ArithmeticSequence
85
fails:Numeric#step with keyword arguments when no block is given returns an Enumerator::ArithmeticSequence when step is 0
9-
fails:Numeric#step with keyword arguments when no block is given returns an Enumerator::ArithmeticSequence when not passed a block and self > stop
10-
fails:Numeric#step with keyword arguments when no block is given returns an Enumerator::ArithmeticSequence when not passed a block and self < stop
116
fails:Numeric#step with mixed arguments when no block is given returns an Enumerator::ArithmeticSequence when step is 0
12-
fails:Numeric#step with mixed arguments when no block is given returns an Enumerator::ArithmeticSequence when not passed a block and self > stop
13-
fails:Numeric#step with mixed arguments when no block is given returns an Enumerator::ArithmeticSequence when not passed a block and self < stop
147
fails:Numeric#step with mixed arguments raises an ArgumentError when step is 0
158
fails:Numeric#step with mixed arguments raises an ArgumentError when step is 0.0

spec/tags/core/proc/source_location_tags.txt

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

spec/tags/core/process/clock_getres_tags.txt

Whitespace-only changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
slow:Process.groups gets an Array of the gids of groups in the supplemental group access list
2-
fails:Process.groups gets an Array of the gids of groups in the supplemental group access list
2+
fails(fails consistently on darwin):Process.groups gets an Array of the gids of groups in the supplemental group access list

spec/tags/core/process/kill_tags.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ slow:Process.kill signals the process group if the signal number is negative
1212
slow:Process.kill signals the process group if the short signal name starts with a minus sign
1313
slow:Process.kill signals the process group if the full signal name starts with a minus sign
1414
fails(flaky):Process.kill signals the process group if the short signal name starts with a minus sign
15-
fails:Process.kill signals the process group if the PID is zero
16-
fails:Process.kill signals the process group if the signal number is negative
17-
fails:Process.kill signals the process group if the full signal name starts with a minus sign

spec/tags/core/process/ppid_tags.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fails:Process.ppid returns the process id of the parent of this process
1+
slow:Process.ppid returns the process id of the parent of this process

spec/tags/core/refinement/import_methods_tags.txt

Whitespace-only changes.

spec/tags/core/string/byteslice_tags.txt

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

spec/tags/core/string/valid_encoding_tags.txt

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

spec/tags/core/symbol/all_symbols_tags.txt

Whitespace-only changes.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
slow:Warning.[]= emits and suppresses warnings for :deprecated
22
slow:Warning.[]= :experimental emits and suppresses warnings for :experimental
3-
fails:Warning.[]= :experimental emits and suppresses warnings for :experimental

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

spec/tags/truffle/methods_tags.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,28 +81,17 @@ fails:Public methods on StringIO should not include to_yaml_properties
8181
fails:Public methods on StringIO should not include yaml_initialize
8282
fails:Public methods on StringIO should include set_encoding_by_bom
8383
fails:Public methods on Process.singleton_class should include getsid
84-
fails:Public methods on ENV.singleton_class should include clone
85-
fails:Public methods on ENV.singleton_class should include dup
8684
fails:Public methods on GC.singleton_class should include using_rvargc?
8785
fails:Public methods on Class should include attached_object
8886
fails:Public methods on Enumerable should include to_set
89-
fails:Public methods on Exception should include detailed_message
9087
fails:Public methods on Fiber should include storage
9188
fails:Public methods on Fiber should include storage=
92-
fails:Public methods on File should not include path
93-
fails:Public methods on File should not include to_path
9489
fails:Public methods on GC.singleton_class should include stat_heap
9590
fails:Public methods on IO should not include nread
9691
fails:Public methods on IO should not include ready?
97-
fails:Public methods on IO should include path
9892
fails:Public methods on IO should include timeout
9993
fails:Public methods on IO should include timeout=
100-
fails:Public methods on IO should include to_path
101-
fails:Public methods on Integer should include ceildiv
10294
fails:Public methods on Kernel should not include =~
103-
fails:Public methods on MatchData should include byteoffset
104-
fails:Public methods on MatchData should include deconstruct
105-
fails:Public methods on MatchData should include deconstruct_keys
10695
fails:Public methods on Method should not include private?
10796
fails:Public methods on Method should not include protected?
10897
fails:Public methods on Method should not include public?

0 commit comments

Comments
 (0)