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
wanabe 96688ecbab * compile.c (case_when_optimizable_literal): When float value can be
treated as integer, add to table hash of case that way.
  based on a patch from Ikuo KOBORI. [ruby-dev:42038]

* insnf.def (opt_case_dispatch): ditto.

* test/ruby/test_case.rb: add tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 13:40:14 +00:00
..
enc indented. 2010-03-12 14:08:36 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb * test/ruby/envutil.rb (EnvUtil.invoke_ruby): merge stdout and stderr 2010-08-07 10:53:13 +00:00
lbtest.rb
marshaltestlib.rb * test/ruby: fixed nonsense assertions. 2010-04-29 05:33:43 +00:00
sentence.rb
test_alias.rb
test_argf.rb * io.c (rb_io_getline_fast, rb_io_getline_1): fix ARGF.lineno behavior. [ruby-core:25205] 2010-04-11 15:56:43 +00:00
test_array.rb * array.c (rb_ary_shuffle_bang): bail out from modification during 2010-08-26 22:57:39 +00:00
test_assignment.rb
test_autoload.rb
test_basicinstructions.rb
test_beginendblock.rb * eval_error.c (error_print): clear raised_flag while error-printing 2010-06-21 14:43:58 +00:00
test_bignum.rb * bignum.c (rb_big_eq): never equal to infinity. 2010-08-03 11:30:19 +00:00
test_call.rb
test_case.rb * compile.c (case_when_optimizable_literal): When float value can be 2010-09-09 13:40:14 +00:00
test_class.rb * iseq.c (rb_iseq_clone): sets local_iseq and klass properly. 2010-03-10 16:07:06 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * complex.c (nucomp_marshal_load): should check the argument. 2010-08-05 09:36:16 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_defined.rb
test_dir.rb
test_dir_m17n.rb * test/ruby/test_dir_m17n.rb: changes for windows. 2010-05-17 02:07:00 +00:00
test_econv.rb * enc/trans/utf8_mac.trans (buf_apply): fix for patterns 2010-06-12 17:13:54 +00:00
test_encoding.rb * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): 2010-04-29 05:46:04 +00:00
test_enum.rb * enum.c (enum_join): remove Enumerable#join. [ruby-core:24786] 2010-03-13 05:55:46 +00:00
test_enumerator.rb
test_env.rb * test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in 2010-09-09 01:46:07 +00:00
test_eval.rb
test_exception.rb * error.c (name_err_mesg_to_str): preserve encoding of inspection. 2010-05-04 09:51:27 +00:00
test_fiber.rb * test/ruby/test_fiber.rb: add ML ref. 2010-05-09 18:23:32 +00:00
test_file.rb * file.c (realpath_internal): regulate separators in prefix. 2010-03-14 22:39:25 +00:00
test_file_exhaustive.rb * file.c (rb_file_s_readlink): symlink target should be in 2010-09-04 14:48:55 +00:00
test_fixnum.rb * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): 2010-04-29 05:46:04 +00:00
test_float.rb * util.c (ruby_strtod): check there is at least 1 digit after 2010-09-06 01:00:29 +00:00
test_fnmatch.rb
test_gc.rb
test_hash.rb * test/ruby/test_hash.rb (test_recursive_key): recursive keys are 2010-03-26 10:32:36 +00:00
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb * test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output 2010-08-17 11:06:22 +00:00
test_io_m17n.rb * test/ruby/test_io_m17n.rb (test_textmode_paragraph_nonasciicompat): should 2010-07-06 11:18:58 +00:00
test_iterator.rb * test/ruby: fixed nonsense assertions. 2010-04-29 05:33:43 +00:00
test_lambda.rb
test_literal.rb * parse.y (parser_read_escape, parser_tokadd_escape): allow a hex or 2010-05-16 12:54:37 +00:00
test_m17n.rb * string.c (rb_str_inspect): inspect as ASCII when the codepoint 2010-05-31 06:04:27 +00:00
test_m17n_comb.rb * parse.y (rb_intern3): prohibit Symbol with an invalid encoding. 2010-03-16 16:26:04 +00:00
test_marshal.rb * marshal.c (w_float): should not append a dot if no fractal part 2010-08-05 09:25:39 +00:00
test_math.rb * math.c (math_atan2): change the behavior when x and y are zero. 2010-08-27 03:51:56 +00:00
test_metaclass.rb
test_method.rb * vm_method.c (rb_method_boundp): revert r28543, r28564. 2010-07-21 05:00:53 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * test/ruby/test_module.rb (test_attr_inherited_visibility): more discussion needed. 2010-07-02 08:40:51 +00:00
test_notimp.rb
test_numeric.rb
test_object.rb * object.c (rb_obj_singleton_class): new method 2010-03-23 09:38:54 +00:00
test_objectspace.rb Clean warnings: unused variables. 2010-06-23 05:32:46 +00:00
test_optimization.rb
test_pack.rb * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): 2010-04-29 05:46:04 +00:00
test_parse.rb * parse.y (parser_tokadd_utf8, parser_tokadd_string): allow NUL 2010-05-29 18:40:48 +00:00
test_path.rb * file.c (rb_get_path_check): clarify error message for 2010-08-29 14:25:23 +00:00
test_pipe.rb
test_primitive.rb * compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT 2010-08-05 12:32:02 +00:00
test_proc.rb * vm.c (rb_thread_method_id_and_class): curried proc has no 2010-08-29 04:22:55 +00:00
test_process.rb refine an assertion. 2010-05-25 14:25:55 +00:00
test_rand.rb * array.c (rb_ary_shuffle_bang, rb_ary_sample): add optional 2010-08-23 22:07:39 +00:00
test_range.rb
test_rational.rb * rational.c (nurat_div): divided by infinity should be zero. 2010-08-06 11:13:48 +00:00
test_rational2.rb
test_readpartial.rb
test_regexp.rb * regcomp.c: revert r26701; it introduces Bug #3681. 2010-08-17 16:53:25 +00:00
test_require.rb * load.c (rb_provide_feature): clarify error message for frozen 2010-08-29 03:51:39 +00:00
test_rubyoptions.rb wait a process. 2010-08-11 17:16:20 +00:00
test_settracefunc.rb * NEWS: add Thread#add_trace_func and Thread#set_trace_func. 2010-03-26 14:55:00 +00:00
test_signal.rb * test/ruby/test_signal.rb (TestSignal#test_exit_action): use spawn 2010-08-09 13:12:54 +00:00
test_sleep.rb
test_sprintf.rb * sprintf.c: add short documentation about named reference. 2010-07-21 06:16:07 +00:00
test_sprintf_comb.rb
test_string.rb * string.c (tr_setup_table): optimized. don't create hash objects 2010-09-01 07:52:16 +00:00
test_stringchar.rb * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): 2010-04-29 05:46:04 +00:00
test_struct.rb
test_super.rb * test/ruby/test_super.rb: add test. 2010-08-21 14:38:17 +00:00
test_symbol.rb * test/ruby/test_{string,symbol}.rb (test_ascii_incomat_inspect): 2010-06-02 14:06:25 +00:00
test_syntax.rb * test/ruby/test_syntax.rb: split test_syntax from test_system.rb. 2010-07-04 13:50:34 +00:00
test_system.rb * test/ruby/test_syntax.rb: split test_syntax from test_system.rb. 2010-07-04 13:50:34 +00:00
test_thread.rb Clean warnings: unused variables. 2010-06-23 05:32:46 +00:00
test_time.rb add tests. 2010-04-06 14:37:16 +00:00
test_time_tz.rb * time.c (guess_local_offset): use the UTC offset of an older date on 2010-07-14 21:05:00 +00:00
test_trace.rb * thread.c (ruby_suppress_tracing): restore the state and invoke 2010-09-01 03:56:39 +00:00
test_transcode.rb * enc/trans/utf8_mac.trans (buf_apply): fix for patterns 2010-06-12 17:13:54 +00:00
test_undef.rb
test_unicode_escape.rb * parse.y (parser_tokadd_utf8, parser_tokadd_string): allow NUL 2010-05-29 18:40:48 +00:00
test_variable.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb