summaryrefslogtreecommitdiffstats
path: root/test/ruby
Commit message (Collapse)AuthorAgeFilesLines
...
* add a test for non-ascii method name.akr2007-12-241-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-1/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+81
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add succ tests from the succ document.akr2007-12-241-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine a test.akr2007-12-241-5/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.nobu2007-12-241-0/+4
| | | | | | | | | | [ruby-core:14310] * test/ruby/test_symbol.rb (test_to_proc): a test from Frederick Cheung <frederick.cheung AT gmail.com>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_comparable): fixed to keep transitivity.matz2007-12-241-0/+1
| | | | | | [ruby-dev:32693] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-241-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for String#hash.akr2007-12-241-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some tests on conversion for pipe.akr2007-12-231-0/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should associate new encoding if modified.matz2007-12-231-11/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): should do multibyte aware RS search.matz2007-12-231-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2007-12-231-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test reflexive, symmetric and transitive relation of String#==.akr2007-12-231-172/+214
| | | | | | | String#chop test refined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-231-0/+42
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertions.akr2007-12-231-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update tests.akr2007-12-231-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for IO.pipe.akr2007-12-231-29/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-231-9/+47
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertion messages.akr2007-12-231-5/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more IO m17n tests.akr2007-12-231-4/+122
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): matz2007-12-232-2/+2
| | | | | | | rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary warning in make test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move the test for [ruby-core:14288].akr2007-12-231-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_codepoint): implemented to raise invalidakr2007-12-231-60/+150
| | | | | | | | | | encoding. * include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a declaration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for warning of none encoding regexps.akr2007-12-231-21/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:32675] reported by Keita Yamaguchi.akr2007-12-231-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use String#ascii_only?.akr2007-12-221-37/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2007-12-221-32/+46
| | | | | | | | | * test/ruby/test_transcode.rb: Added simple tests for EUC-JP and Shift_JIS and tests for ASCII-only range git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update tests for latest /.../n handling.akr2007-12-221-14/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb, test_sprintf.rb: fix test place.ko12007-12-222-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (test_float): test literal, not sprintf.usa2007-12-221-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_obj_instance_eval): use class of immediate objects.ko12007-12-221-1/+1
| | | | | | | | * test/ruby/test_eval.rb: fix a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_eval.rb: class variable test updated.matz2007-12-211-12/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-211-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (TestSystem::valid_syntax): applymatz2007-12-211-0/+1
| | | | | | | | ASCII-8BIT encoding explicitly. * re.c (rb_reg_prepare_re): add encoding name in the message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb (TestM17N::test_tr): "invalid mbstringmatz2007-12-211-1/+1
| | | | | | sequence" is not an error to be tested. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): wrong encoding check for tree strings.matz2007-12-201-2/+2
| | | | | | | * test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring sequence" is not an error to be tested. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for succ.akr2007-12-201-4/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* disable debug print.akr2007-12-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for squeeze, strip, sum, swapcase, to_f, to_i, to_s.akr2007-12-201-18/+129
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add m17n tests for scan, slice, slice!, split.akr2007-12-201-4/+141
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): should consider rslen.matz2007-12-191-1/+4
| | | | | | | | | | | | | | * string.c (rb_str_buf_append): should propagate encoding. * string.c (rb_str_each_line): ditto. * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): should check encoding as well. * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): empty array can not propagate encoding; should not check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rindex_m): too much adjustment.matz2007-12-191-1/+13
| | | | | | | | | | * re.c (reg_match_pos): pos adjustment should be based on characters. * test/ruby/test_m17n.rb (TestM17N::test_str_insert): test updated to check negative offset behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_regsub): should set checked encoding.nobu2007-12-191-0/+2
| | | | | | | * string.c (rb_str_sub_bang): applied r14212 too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for insert, intern, length, oct, replace, reverse.akr2007-12-191-1/+62
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for hex, include?, index, rindex.akr2007-12-191-0/+79
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): remove "retry" in block.ko12007-12-191-13/+1
| | | | | | | | | | | | | | | | | ("iter{retry}" cause syntax error) Currently, "begin; ...; rescue; iter{retry}; end" cause syntax error too. * bootstraptest/test_jump.rb: ditto. * lib/drb/invokemethod.rb: ditto. * sample/drb/darrayc.rb: ditto. * sample/test.rb: ditto. * test/drb/drbtest.rb: ditto. * test/ruby/test_iterator.rb: ditto. * sample/test.rb: add a 'test' directory on the SYSTEM test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for clear, clone, dup, count, crypt, delete, downcase, dump,akr2007-12-191-0/+150
| | | | | | | each_line, each_byte, empty?. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-191-4/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e