nobu
48379c7309
* sprintf.c (rb_str_format): checks if named argument given twice.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27 23:49:52 +00:00
nobu
08b4f9138c
* test/ruby/test_sprintf.rb (test_invalid): suppress warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28 09:51:18 +00:00
ko1
39fcd1cdf2
* bootstraptest/test_knownbug.rb: move solved tests.
...
* bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb,
test_thread.rb: ditto.
* test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb,
test_string.rb, test/ruby/test_struct.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-19 05:20:21 +00:00
usa
c1e0cb08f2
* test_sprintf.rb (test_integer): add some cases.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:48:15 +00:00
akr
7a62e3ea59
add a test for [ruby-dev:34002].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:21:07 +00:00
nobu
591503c0ab
* sprintf.c (rb_str_format): ignore 0 flag for NaN and Inf.
...
[ruby-dev:33994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:11:43 +00:00
matz
840723e523
test/test_{string,sprintf}.rb: updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-01 01:22:45 +00:00
nobu
0c390860cb
* sprintf.c (remove_sign_bits): returns pointer to the first char to
...
be used, instead of copying.
* sprintf.c (rb_str_format): negative indicator dots should come
before sign digits always. [ruby-dev:33224]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-24 10:29:22 +00:00
akr
2a02fe7497
add a test for [ruby-dev:33224].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-24 06:59:03 +00:00
mame
e405a1b93c
* test/ruby/test_struct.rb: add tests to achieve over 90% test
...
coverage of struct.c.
* test/ruby/test_sprintf.rb: ditto for sprintf.c.
* test/ruby/test_math.rb: ditto for math.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-23 13:49:06 +00:00
ko1
34ff55e82a
* test/ruby/test_float.rb, test_sprintf.rb: fix test place.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:19:38 +00:00
ko1
0d4761fb1a
* bootstraptest/test_knownbug.rb: move fixed bugs.
...
* test/ruby/test_sprintf.rb: ditto.
* test/yaml/test_yaml.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 05:43:06 +00:00
akr
68543f3092
use ML ref. for assertion message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18 07:18:56 +00:00
nobu
46e848a65a
* sprintf.c (rb_f_sprintf): should not check positional number as
...
width. [ruby-core:11838]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-02 04:46:41 +00:00
nobu
192c936e23
* sprintf.c (rb_f_sprintf): more checks for format argument.
...
[ruby-core:11569], [ruby-core:11570], [ruby-core:11571],
[ruby-core:11573]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-15 20:45:55 +00:00
usa
a28006f959
* sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
...
* test/ruby/test_sprintf.rb (test_nan, test_inf): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 14:38:21 +00:00
nahi
994dfc0ae6
* test/*: should not depend on $KCODE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 13:08:08 +00:00
usa
44284f71c9
* test/ruby/test_sprintf.rb: added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 09:09:21 +00:00