summaryrefslogtreecommitdiffstats
path: root/test/ruby
Commit message (Collapse)AuthorAgeFilesLines
...
* * variable.c (rb_const_defined_0): look up constants in Object asnobu2003-10-021-1/+4
| | | | | | | | | | well. [ruby-dev:21458] * test/ruby/test_defined.rb (TestDefined::test_defined): test for constants. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: new test test_break__nested_loop[123].aamine2003-09-291-0/+39
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb: new file. only asserts unlink-before-close behaviournahi2003-09-261-0/+32
| | | | | | | | | | now. * test/soap/marshal/test_digraph.rb: should close before unlink. unlink-before-close pattern is not needed here. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_marshal.rb: add test for ruby's objects.nahi2003-09-261-0/+280
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (struct tag): dst should be VALUE.nobu2003-09-091-2/+3
| | | | | | | | * eval.c (localjump_destination): stop at the scope where the current block was created. [ruby-dev:21353] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_*.rb: assert_same, assert_match, and so on.nahi2003-09-069-28/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#order, #permute, #parse): allow annobu2003-09-0528-782/+742
| | | | | | | | | | 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
* * same as the previous commit.nahi2003-09-052-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'nahi2003-09-0524-563/+565
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (test_system): check existence of rubyeban2003-09-051-7/+12
| | | | | | | interpreter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: added. gets testcases from command line and runs it.nahi2003-09-051-6/+0
| | | | | | | * test/ruby/test_gc.rb: remove useless part which was for dumping test result. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_gc.rb: added. splitter.rb which I made to splitnahi2003-09-051-0/+41
| | | | | | | | sample/test.rb into test/ruby/test_* kindly removed GC test (the last section in the original test) to reduce things to be worried. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb (test_block_in_arg): add no blocknobu2003-09-041-104/+82
| | | | | | | | | | given tests. * test/ruby/test_iterator.rb (test_ljump): uncomment LocalJumpError test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby: tests for ruby itself.nahi2003-09-0428-0/+2223
* 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