Skip to content

Commit a2e4be6

Browse files
committed
Add tags for new failing specs
1 parent 9f208bf commit a2e4be6

File tree

9 files changed

+51
-0
lines changed

9 files changed

+51
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Exception#detailed_message accepts highlight keyword argument and adds escape control sequences for an instance of RuntimeError with empty message
2+
fails:Exception#detailed_message accepts highlight keyword argument and adds escape control sequences for an instance other than RuntimeError with empty message

spec/tags/core/io/autoclose_tags.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:IO#autoclose? cannot be queried on a closed IO object
2+
fails:IO#autoclose= cannot be set on a closed IO object

spec/tags/core/kernel/caller_tags.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
slow:Kernel#caller returns an Array with the block given to #at_exit at the base of the stack
2+
fails:Kernel#caller can be called with a range whose end is negative
3+
fails:Kernel#caller must return nil if omitting more locations than available
4+
fails:Kernel#caller must return the same locations when called with 1..-1 and when called with no arguments

spec/tags/core/string/encode_tags.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
fails:String#encode given the fallback option given a hash calls to_str on the returned value
2+
fails:String#encode given the fallback option given a hash does not call to_s on the returned value
3+
fails:String#encode given the fallback option given a hash raises an error if the key is not present in the hash
4+
fails:String#encode given the fallback option given a hash raises an error if the value is itself invalid
5+
fails:String#encode given the fallback option given an object not responding to [] raises an error
6+
fails:String#encode given the fallback option given a proc calls to_str on the returned value
7+
fails:String#encode given the fallback option given a proc does not call to_s on the returned value
8+
fails:String#encode given the fallback option given a proc raises an error if the returned value is itself invalid
9+
fails:String#encode given the fallback option given a lambda calls to_str on the returned value
10+
fails:String#encode given the fallback option given a lambda does not call to_s on the returned value
11+
fails:String#encode given the fallback option given a lambda raises an error if the returned value is itself invalid
12+
fails:String#encode given the fallback option given a method calls to_str on the returned value
13+
fails:String#encode given the fallback option given a method does not call to_s on the returned value
14+
fails:String#encode given the fallback option given a method raises an error if the returned value is itself invalid
15+
fails:String#encode when passed options normalizes newlines with cr_newline option
16+
fails:String#encode when passed options normalizes newlines with crlf_newline option
17+
fails:String#encode! given the fallback option given a hash calls to_str on the returned value
18+
fails:String#encode! given the fallback option given a hash does not call to_s on the returned value
19+
fails:String#encode! given the fallback option given a hash raises an error if the key is not present in the hash
20+
fails:String#encode! given the fallback option given a hash raises an error if the value is itself invalid
21+
fails:String#encode! given the fallback option given an object not responding to [] raises an error
22+
fails:String#encode! given the fallback option given a proc calls to_str on the returned value
23+
fails:String#encode! given the fallback option given a proc does not call to_s on the returned value
24+
fails:String#encode! given the fallback option given a proc raises an error if the returned value is itself invalid
25+
fails:String#encode! given the fallback option given a lambda calls to_str on the returned value
26+
fails:String#encode! given the fallback option given a lambda does not call to_s on the returned value
27+
fails:String#encode! given the fallback option given a lambda raises an error if the returned value is itself invalid
28+
fails:String#encode! given the fallback option given a method calls to_str on the returned value
29+
fails:String#encode! given the fallback option given a method does not call to_s on the returned value
30+
fails:String#encode! given the fallback option given a method raises an error if the returned value is itself invalid
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Thread#thread_variable_get converts a key that is neither String nor Symbol with #to_str
2+
fails:Thread#thread_variable_get does not raise a TypeError if the key is neither Symbol nor String, nor responds to #to_str
3+
fails:Thread#thread_variable_get does not try to convert the key with #to_sym
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fails:Thread#thread_variable_set converts a key that is neither String nor Symbol with #to_str
2+
fails:Thread#thread_variable_set removes a key if the value is nil
3+
fails:Thread#thread_variable_set raises a FrozenError if the thread is frozen
4+
fails:Thread#thread_variable_set raises a TypeError if the key is neither Symbol nor String, nor responds to #to_str
5+
fails:Thread#thread_variable_set does not try to convert the key with #to_sym
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Thread#thread_variable? converts a key that is neither String nor Symbol with #to_str
2+
fails:Thread#thread_variable? does not raise a TypeError if the key is neither Symbol nor String, nor responds to #to_str
3+
fails:Thread#thread_variable? does not try to convert the key with #to_sym
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Thread#thread_variables returns keys as Symbols

spec/tags/core/warning/warn_tags.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ slow:Warning.warn has Warning as the method owner
22
slow:Warning.warn can be overridden
33
slow:Warning.warn does not add a newline
44
slow:Warning.warn returns nil
5+
fails:Warning.warn isn't called by Kernel.warn when category is :deprecated but Warning[:deprecated] is false
6+
fails:Warning.warn isn't called by Kernel.warn when category is :experimental but Warning[:experimental] is false

0 commit comments

Comments
 (0)