File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1222,7 +1222,7 @@ def inspect
12221222 -> { str . upcase! } . should raise_error ( RuntimeError , 'can\'t modify string; temporarily locked' )
12231223 end
12241224
1225- ruby_bug "#20998" , "" ..."3.5 " do
1225+ ruby_bug "#20998" , "" ..."3.6 " do # TODO: check when Ruby 3.5 is released
12261226 it "raises FrozenError if string is frozen" do
12271227 str = -"rb_str_locktmp"
12281228 -> { @s . rb_str_locktmp ( str ) } . should raise_error ( FrozenError )
@@ -1246,7 +1246,7 @@ def inspect
12461246 -> { @s . rb_str_unlocktmp ( +"test" ) } . should raise_error ( RuntimeError , 'temporal unlocking already unlocked string' )
12471247 end
12481248
1249- ruby_bug "#20998" , "" ..."3.5 " do
1249+ ruby_bug "#20998" , "" ..."3.6 " do # TODO: check when Ruby 3.5 is released
12501250 it "raises FrozenError if string is frozen" do
12511251 str = -"rb_str_locktmp"
12521252 -> { @s . rb_str_unlocktmp ( str ) } . should raise_error ( FrozenError )
You can’t perform that action at this time.
0 commit comments