From 438ab654d05f88517951b41b233e732337b6d211 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 6 Nov 2024 22:09:28 +0100 Subject: [PATCH] Add tags for new failing specs --- spec/tags/core/objectspace/define_finalizer_tags.txt | 2 ++ spec/tags/core/string/modulo_tags.txt | 5 +++++ spec/tags/core/time/new_tags.txt | 1 + 3 files changed, 8 insertions(+) diff --git a/spec/tags/core/objectspace/define_finalizer_tags.txt b/spec/tags/core/objectspace/define_finalizer_tags.txt index 79cc4861db53..2d3dae7dfa9d 100644 --- a/spec/tags/core/objectspace/define_finalizer_tags.txt +++ b/spec/tags/core/objectspace/define_finalizer_tags.txt @@ -19,3 +19,5 @@ slow:ObjectSpace.define_finalizer when $VERBOSE is nil does not warn even if an fails:ObjectSpace.define_finalizer when $VERBOSE is not nil warns if an exception is raised in finalizer fails:ObjectSpace.define_finalizer when $VERBOSE is nil does not warn even if an exception is raised in finalizer slow:ObjectSpace.define_finalizer defines same finalizer only once +fails:ObjectSpace.define_finalizer defines same finalizer only once +fails:ObjectSpace.define_finalizer returns the defined finalizer diff --git a/spec/tags/core/string/modulo_tags.txt b/spec/tags/core/string/modulo_tags.txt index 5d03579ee583..d980d7313508 100644 --- a/spec/tags/core/string/modulo_tags.txt +++ b/spec/tags/core/string/modulo_tags.txt @@ -8,3 +8,8 @@ fails:String#% flags # applies to formats bBxX does nothing for zero argument fails:String#% other formats c displays only the first character if argument is a string of several characters fails:String#% other formats c displays no characters if argument is an empty string fails:String#% supports only the first character as argument for %c +fails:String#% behaves as if calling Kernel#Float for %e arguments, when the passed argument does not respond to #to_ary +fails:String#% behaves as if calling Kernel#Float for %E arguments, when the passed argument does not respond to #to_ary +fails:String#% behaves as if calling Kernel#Float for %f arguments, when the passed argument does not respond to #to_ary +fails:String#% behaves as if calling Kernel#Float for %g arguments, when the passed argument does not respond to #to_ary +fails:String#% behaves as if calling Kernel#Float for %G arguments, when the passed argument does not respond to #to_ary diff --git a/spec/tags/core/time/new_tags.txt b/spec/tags/core/time/new_tags.txt index 04c1c547bdb5..c8e3291dfc72 100644 --- a/spec/tags/core/time/new_tags.txt +++ b/spec/tags/core/time/new_tags.txt @@ -23,3 +23,4 @@ fails:Time.new with a timezone argument :in keyword argument could be a timezone fails:Time.new with a timezone argument Time.new with a String argument accepts precision keyword argument and truncates specified digits of sub-second part fails:Time.new with a timezone argument Time.new with a String argument converts precision keyword argument into Integer if is not nil fails:Time.new with a timezone argument Time.new with a String argument raise TypeError is can't convert precision keyword argument into Integer +fails:Time.new with a timezone argument Time.new with a String argument raises ArgumentError if date/time parts values are not valid