Add tests for CRuby bug
MODIFY
mrbgems/mruby-sprintf/test/sprintf.rb
mrbgems/mruby-sprintf/test/sprintf.rb
-#assert('Kernel.sprintf') do
-#end
+assert('sprintf invalid') do
+ assert_raise(ArgumentError) { sprintf('%1$*d', 3) }
+ assert_raise(ArgumentError) { sprintf('%1$.*d', 3) }
+end
assert('String#%') do
assert_equal "one=1", "one=%d" % 1

Add tests for CRuby bug #9982

https://bugs.ruby-lang.org/issues/9982