Skip to content

Commit

Permalink
Showing 2 changed files with 6 additions and 11 deletions.
14 changes: 6 additions & 8 deletions spec/truffle/tags/core/string/modulo_tags.txt
Original file line number Diff line number Diff line change
@@ -21,6 +21,10 @@ fails:String#% allows negative width to imply '-' flag
fails:String#% ignores negative precision
fails:String#% allows a star to take an argument number to use as the width
fails:String#% calls to_int on width star and precision star tokens
fails:String#% does not call #to_a to convert the argument
fails:String#% calls #to_ary to convert the argument
fails:String#% wraps the object in an Array if #to_ary returns nil
fails:String#% raises a TypeError if #to_ary does not return an Array
fails:String#% tries to convert the argument to Array by calling #to_ary
fails:String#% doesn't return subclass instances when called on a subclass
fails:String#% always taints the result when the format string is tainted
@@ -40,8 +44,9 @@ fails:String#% supports integer formats using %i
fails:String#% supports negative integers using %i
fails:String#% supports negative integers using %i, giving priority to `-`
fails:String#% supports float formats using %e
fails:String#% supports float formats using %e, but Inf, -Inf, and NaN are not floats
fails:String#% supports float formats using %E, but Inf, -Inf, and NaN are not floats
fails:String#% supports float formats using %E
fails:String#% pads with spaces for %E with Inf, -Inf, and NaN
fails:String#% supports float formats using %f
fails:String#% supports float formats using %g
fails:String#% supports float formats using %G
@@ -81,10 +86,3 @@ fails:String#% when format string contains %{} sections should raise ArgumentErr
fails:String#% when format string contains %<> formats uses the named argument for the format's value
fails:String#% when format string contains %<> formats raises KeyError if key is missing from passed-in hash
fails:String#% when format string contains %<> formats should raise ArgumentError if no hash given
fails:String#% raises an error if NULL or \n appear anywhere else in the format string
fails:String#% calls #to_ary to convert the argument
fails:String#% wraps the object in an Array if #to_ary returns nil
fails:String#% raises a TypeError if #to_ary does not return an Array
fails:String#% supports float formats using %e, but Inf, -Inf, and NaN are not floats
fails:String#% supports float formats using %E, but Inf, -Inf, and NaN are not floats
fails:String#% raises an error if NULL or \n appear anywhere else in the format string
3 changes: 0 additions & 3 deletions spec/truffle/truffle.mspec
Original file line number Diff line number Diff line change
@@ -32,9 +32,6 @@ class MSpecScript
"^spec/ruby/core/marshal/load_spec.rb",
"^spec/ruby/core/marshal/restore_spec.rb",

# fail tag not excluding
"^spec/ruby/core/string/modulo_spec.rb",

# require etc, linux only spec
"^spec/ruby/core/io/advise_spec.rb",
]

0 comments on commit 4b7fff7

Please sign in to comment.