summaryrefslogtreecommitdiff
path: root/test/ruby
AgeCommit message (Collapse)Author
2007-12-24add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add a test for non-ascii method name.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add succ tests from the succ document.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24refine a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.nobu
[ruby-core:14310] * test/ruby/test_symbol.rb (test_to_proc): a test from Frederick Cheung <frederick.cheung AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* string.c (rb_str_comparable): fixed to keep transitivity.matz
[ruby-dev:32693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add a test for String#hash.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add some tests on conversion for pipe.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* string.c (tr_trans): should associate new encoding if modified.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* io.c (appendline): should do multibyte aware RS search.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add ML ref.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23test reflexive, symmetric and transitive relation of String#==.akr
String#chop test refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add assertions.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23update tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add test for IO.pipe.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add assertion messages.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23more IO m17n tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): matz
rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary warning in make test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23move the test for [ruby-core:14288].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* encoding.c (rb_enc_codepoint): implemented to raise invalidakr
encoding. * include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add tests for warning of none encoding regexps.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add a test for [ruby-dev:32675] reported by Keita Yamaguchi.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22use String#ascii_only?.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* test/ruby/test_transcode.rb: Added simple tests for EUC-JP and Shift_JIS and tests for ASCII-only range git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22update tests for latest /.../n handling.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* test/ruby/test_float.rb, test_sprintf.rb: fix test place.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* test/ruby/test_float.rb (test_float): test literal, not sprintf.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* eval.c (rb_obj_instance_eval): use class of immediate objects.ko1
* test/ruby/test_eval.rb: fix a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21test/ruby/test_eval.rb: class variable test updated.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* test/ruby/test_system.rb (TestSystem::valid_syntax): applymatz
ASCII-8BIT encoding explicitly. * re.c (rb_reg_prepare_re): add encoding name in the message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* test/ruby/test_m17n.rb (TestM17N::test_tr): "invalid mbstringmatz
sequence" is not an error to be tested. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* string.c (tr_trans): wrong encoding check for tree strings.matz
* test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring sequence" is not an error to be tested. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20add test for succ.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20disable debug print.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20add tests for squeeze, strip, sum, swapcase, to_f, to_i, to_s.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20add m17n tests for scan, slice, slice!, split.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* string.c (rb_str_each_line): should consider rslen.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* string.c (rb_str_rindex_m): too much adjustment.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* re.c (rb_reg_regsub): should set checked encoding.nobu
* string.c (rb_str_sub_bang): applied r14212 too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19add tests for insert, intern, length, oct, replace, reverse.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19add tests for hex, include?, index, rindex.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* compile.c (iseq_compile_each): remove "retry" in block.ko1
("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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19add tests for clear, clone, dup, count, crypt, delete, downcase, dump,akr
each_line, each_byte, empty?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e