Hi,

2012/2/14 Charles Oliver Nutter <headius / headius.com>:
> I'm trying to find test cases for the %<foo> and %{foo} forms of
> Sting#% and not finding anything in 1.9.3's test/ruby/test_string.rb.
> Am I looking in the wrong place?
>
> "%<foo>f" % {foo: 1} # =3D> "1.000000"
> "%{foo}f" % {foo: 1} # =3D> "1f"

It is in test/ruby/test_sprintf.rb as a test of sprintf.
But it should have more tests...

--=20
NARUSE, Yui =A0<naruse / airemix.jp>