1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
naruse 42dcda08ae * string.c (rb_str_usascii_new{,2}: defined.
(rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when empty
  string.

* encoding.c (rb_usascii_encoding, rb_usascii_encindex): defined.
  (rb_enc_inspect, enc_name, rb_locale_charmap, rb_enc_name_list_i):
  use rb_str_ascii_new.

* array.c (recursive_join, inspect_ary): ditto.

* object.c (nil_to_s, nil_inspect, true_to_s, false_to_s,
  rb_mod_to_s): ditto.

* hash.c (inspect_hash, rb_hash_inspect, rb_f_getenv, env_fetch,
  env_clear, env_to_s, env_inspect): ditto.

* numeric.c (flo_to_s, int_chr, rb_fix2str): ditto.

* bignum.c (rb_big2str): ditto.

* file.c (rb_file_ftype, rb_file_s_dirname, rb_file_s_extname,
  file_inspect_join, Init_file): ditto.

* test/ruby/test_ruby_m17n.rb: add checks for encoding of string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-25 16:40:02 +00:00
..
beginmainend.rb
endblockwarn_rb * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): 2007-12-23 15:48:39 +00:00
envutil.rb
marshaltestlib.rb avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data. 2007-12-15 11:20:45 +00:00
sentence.rb * test/ruby/sentence.rb (Sentence): include Enumerable. 2007-08-24 19:01:46 +00:00
test_alias.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
test_array.rb * array.c (rb_ary_slice_bang): If an invalid range is given, do 2007-12-10 13:25:39 +00:00
test_assignment.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
test_basicinstructions.rb * test/ruby/test_basicinstructions.rb: updated for new class 2007-11-09 04:37:36 +00:00
test_beginendblock.rb * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): 2007-12-23 15:48:39 +00:00
test_bignum.rb * test/ruby/test_bignum.rb: change some tests because rational 2008-01-22 13:28:04 +00:00
test_call.rb
test_case.rb
test_class.rb
test_clone.rb * test/ruby/test_clone.rb: fix to current spec 2007-02-08 13:32:01 +00:00
test_condition.rb
test_const.rb
test_continuation.rb * cont.c: fix to remove Fiber.new until fiber.so is not loaded. 2007-08-26 03:31:20 +00:00
test_defined.rb * compile.c, insns.def: change return value of "defined?" 2007-11-27 04:43:54 +00:00
test_dir.rb specify prefix for Dir.mktmpdir. 2007-10-24 07:11:35 +00:00
test_encoding.rb * encoding.c (rb_obj_encoding): rdoc update. a patch from David 2007-10-14 08:31:51 +00:00
test_enumerator.rb * set eol-style. 2007-11-16 01:30:29 +00:00
test_env.rb
test_eval.rb * eval.c (rb_obj_instance_eval): use class of immediate objects. 2007-12-22 02:52:27 +00:00
test_exception.rb
test_fiber.rb * cont.c: Thread local storage should be fiber local. 2007-09-28 19:04:45 +00:00
test_file.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_fixnum.rb * numeric.c (fix_pow): integer power calculation: 0**n => 0, 2007-07-14 14:31:21 +00:00
test_float.rb * test/ruby/test_float.rb, test_sprintf.rb: fix test place. 2007-12-22 05:19:38 +00:00
test_fnmatch.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_gc.rb
test_hash.rb * hash.c (rb_hash_delete_key): delete the entry without calling block. 2007-08-15 04:50:12 +00:00
test_ifunless.rb
test_integer.rb * test/ruby/test_integer.rb (test_Integer): multiple underscores 2007-12-19 02:08:59 +00:00
test_io.rb make a test locale independent. 2008-01-10 10:35:52 +00:00
test_io_m17n.rb add a test. 2008-01-25 15:22:52 +00:00
test_iterator.rb * compile.c (iseq_compile_each): remove "retry" in block. 2007-12-19 08:46:49 +00:00
test_lambda.rb * parse.y (new_yield), compile.c (iseq_compile_each): fix 2007-06-05 17:26:00 +00:00
test_literal.rb * test/ruby/test_literal.rb: new test. 2007-02-23 05:23:33 +00:00
test_m17n.rb * string.c (rb_str_usascii_new{,2}: defined. 2008-01-25 16:40:02 +00:00
test_m17n_comb.rb fix previous change. 2008-01-23 15:34:31 +00:00
test_marshal.rb * marshal.c (r_bytes0): check if source has enough data. 2007-10-15 00:58:09 +00:00
test_math.rb * test/ruby/test_struct.rb: add tests to achieve over 90% test 2008-01-23 13:49:06 +00:00
test_method.rb * eval.c (frame_func_id): return proper method ID. 2007-08-17 16:12:03 +00:00
test_mixed_unicode_escapes.rb * parse.y: patch, based on Nobu's, work to support \u escapes 2007-11-07 22:55:27 +00:00
test_module.rb * test/ruby/test_module.rb: fix to use Symbol instead of String 2007-02-08 13:24:11 +00:00
test_objectspace.rb
test_optimization.rb * test/ruby/test_optimization.rb: restore method before calling assert_equal. 2007-02-26 15:45:52 +00:00
test_pack.rb * string.c (str_make_independent): should set length. 2008-01-23 06:04:13 +00:00
test_path.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_pipe.rb
test_primitive.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
test_proc.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_process.rb report the reason of process termination. 2007-11-30 08:47:22 +00:00
test_rand.rb
test_range.rb * range.c (range_dumper): make uninitialized range dumpable. 2007-09-10 06:50:22 +00:00
test_readpartial.rb * test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin. 2007-02-09 02:07:34 +00:00
test_regexp.rb * lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb, 2008-01-23 18:53:52 +00:00
test_settracefunc.rb * test/ruby/test_settracefunc.rb: fixed tests for set_trace_func. 2007-11-12 15:38:10 +00:00
test_signal.rb check Process.kill instead of Process#kill. 2007-12-02 04:13:17 +00:00
test_sprintf.rb * sprintf.c (remove_sign_bits): returns pointer to the first char to 2008-01-24 10:29:22 +00:00
test_sprintf_comb.rb combinational tests for printf. 2008-01-25 04:42:36 +00:00
test_string.rb add a test for String#end_with?. 2008-01-23 18:14:28 +00:00
test_stringchar.rb
test_struct.rb * test/ruby/test_struct.rb: add tests to achieve over 90% test 2008-01-23 13:49:06 +00:00
test_super.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_symbol.rb * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic. 2007-12-24 04:55:37 +00:00
test_system.rb * test/ruby/test_system.rb (TestSystem::valid_syntax): apply 2007-12-21 05:03:14 +00:00
test_thread.rb * thread.c (thread_create_core): prohibit thread creation in the 2008-01-18 18:48:12 +00:00
test_time.rb * configure.in: check struct timespec, clock_gettime, utimensat, 2007-11-19 09:09:38 +00:00
test_trace.rb
test_transcode.rb Mon Jan 21 19:42:42 2008 Martin Duerst <duerst@it.aoyama.ac.jp> 2008-01-21 10:41:59 +00:00
test_unicode_escape.rb * include/ruby/intern.h (rb_uv_to_utf8): declared. 2007-12-01 16:56:19 +00:00
test_utf16.rb add a test for Regexp.union. 2008-01-25 03:58:32 +00:00
test_variable.rb * variable.c (rb_cvar_set): check whether class variable is 2007-10-03 06:48:06 +00:00
test_whileuntil.rb refine previous change. 2007-09-28 18:22:23 +00:00
test_yield.rb add test for enumerator. 2007-11-28 07:48:23 +00:00
ut_eof.rb