summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_array.rb
Commit message (Collapse)AuthorAgeFilesLines
* * test/ruby/test_array.rb (test_misc): added some testsocean2005-11-201-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fill): tail elements were vanished when the middleocean2005-11-151-0/+23
| | | | | | | | | part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1]) * test/ruby/test_array.rb (test_fill): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: add test for find_all. (based on Daniel Berger's ↵ocean2005-05-131-0/+10
| | | | | | patch) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add extend testcase for #first, #last, #shift, #unshift, #pop, #push methods.michal2004-06-161-0/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: use local variables instead of a globalnobu2004-06-161-49/+49
| | | | | | | variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/*: should not depend on $KCODE.nahi2004-02-181-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#order, #permute, #parse): allow annobu2003-09-051-43/+43
| | | | | | | | | | array as argument. * test/ruby/test_*.rb: moved invariants to left side in assert_equal, and use assert_nil, assert_raises and so on. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'nahi2003-09-051-33/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby: tests for ruby itself.nahi2003-09-041-0/+103
* test/ruby/test_*.rb: split sample/test.rb into 28 test/unit testcases. some tests could not be translates... search '!!' mark to see it. * test/csv/test_csv.rb: should require 'csv', not '../lib/csv'. test runner should set load path correctly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e