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
nari 805b08f292 * eval.c (f_current_dirname): add the new method for Kernel.
This method almotst same as File.dirname(__FILE__). One
  different behavior is it returns nil when __FILE__ returns nil.
  [Feature #3346]

* NEWS:  ditto

* test/ruby/test_method.rb: related test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03 01:37:50 +00:00
..
enc use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
lbtest.rb Revert r35180; the fix break the test. see [ruby-dev:30653] 2012-04-03 04:27:30 +00:00
marshaltestlib.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
memory_status.rb * test/ruby/memory_status.rb (Memory): syntax error. 2012-02-29 06:39:22 +00:00
sentence.rb
test_alias.rb * test/ruby/test_alias.rb (test_super_in_aliased_module_method): 2012-08-04 01:04:05 +00:00
test_argf.rb increment @tmp_count. 2012-07-18 15:23:35 +00:00
test_arity.rb * test/ruby/test_arity.rb (TestArity#err_mess): use assert_raise. 2012-03-15 01:31:43 +00:00
test_array.rb array.c: use rb_random_ulong_limited 2012-10-09 09:01:40 +00:00
test_assignment.rb
test_autoload.rb * test/ruby/test_autoload.rb: remove temporally files early. 2012-07-18 13:43:22 +00:00
test_backtrace.rb * test/ruby/test_backtrace.rb: decrease recursion depth 2012-06-22 08:58:29 +00:00
test_basicinstructions.rb never evaluated 2012-07-05 14:42:25 +00:00
test_beginendblock.rb * test/ruby/test_beginendblock.rb: remove temporally files early. 2012-07-18 14:09:21 +00:00
test_bignum.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
test_call.rb
test_case.rb
test_class.rb * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h: 2012-10-27 02:10:53 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb test_complex.rb, test_rational.rb: revert some assertions 2012-07-26 03:08:41 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb * test_continuation.rb (tracing_with_thread_set_trace_func): 2012-08-21 01:41:07 +00:00
test_defined.rb * iseq.c (rb_iseq_defined_string): the index of defined_strings must 2012-09-24 23:17:59 +00:00
test_dir.rb dir.c: fix recursion 2012-09-05 04:30:10 +00:00
test_dir_m17n.rb test_dir_m17n.rb: test_glob_incompatible 2012-09-05 03:03:24 +00:00
test_econv.rb Suppress warnings. 2012-07-25 06:49:35 +00:00
test_encoding.rb * encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd string 2012-02-05 15:17:50 +00:00
test_enum.rb array.c, enum.c: TypeError in zip 2012-09-19 15:42:26 +00:00
test_enumerator.rb * test/ruby/test_enumerator.rb (enum_test, test_inspect): remove unused 2012-09-30 12:32:04 +00:00
test_env.rb use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
test_eval.rb proc.c: main.define_method 2012-11-01 23:24:33 +00:00
test_exception.rb vm.c: pass through thrown objects 2012-10-19 13:22:03 +00:00
test_fiber.rb Use assert_normal_exit to split process 2012-10-29 08:52:59 +00:00
test_file.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_file_exhaustive.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_fixnum.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
test_float.rb * test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test. 2012-08-23 11:51:30 +00:00
test_fnmatch.rb
test_gc.rb * gc.c: return true or false. Patch by Dirkjan Bussink. [Bug #6821] 2012-08-02 02:47:12 +00:00
test_hash.rb * hash.c (initialize_copy): duping should rehash the hash. 2012-10-18 00:24:00 +00:00
test_ifunless.rb use local variables 2012-08-08 13:46:09 +00:00
test_integer.rb * bignum.c (rb_str_to_inum): must be ASCII compatible encoding as 2012-03-23 04:19:24 +00:00
test_integer_comb.rb
test_io.rb use tty(1) to check if /dev/tty is usable or not 2012-10-12 16:03:41 +00:00
test_io_m17n.rb * io.c (io_unread): fix IO#pos with mode 'r' bug on Windows. 2012-05-08 12:01:05 +00:00
test_iseq.rb Suppress warnings 2012-08-21 22:30:43 +00:00
test_iterator.rb use local variables 2012-08-08 13:46:09 +00:00
test_keyword.rb * vm_core.h (struct rb_iseq_struct), compile.c (iseq_set_arguments), iseq.c (rb_iseq_parameters), vm_insnhelper.c (vm_callee_setup_arg_complex): support Method#parameters for keyword arguments. The provisional spec is what Benoit Daloze proposed. [ruby-core:40518] 2011-12-26 14:20:15 +00:00
test_lambda.rb * vm_insnhelper.c (argument_error): use line number at the beginning 2012-03-16 03:00:44 +00:00
test_lazy_enumerator.rb test_lazy_enumerator.rb: test for cycle chain 2012-07-27 08:09:03 +00:00
test_literal.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_m17n.rb envutil.rb: file_assertion 2012-10-15 13:14:48 +00:00
test_m17n_comb.rb * enc/shift_jis.c (code_to_mbclen): return 2012-05-20 13:32:16 +00:00
test_marshal.rb test/ruby/test_marshal.rb: close pipes 2012-05-15 14:54:09 +00:00
test_math.rb
test_metaclass.rb
test_method.rb * eval.c (f_current_dirname): add the new method for Kernel. 2012-11-03 01:37:50 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * object.c (rb_mod_const_get): const_get accepts qualified constant 2012-10-26 21:31:23 +00:00
test_not.rb * parse.y (primary): allow an empty grouped expression as the 2012-07-18 07:05:12 +00:00
test_notimp.rb
test_numeric.rb
test_object.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
test_objectspace.rb
test_optimization.rb * insns.def: add new instruction opt_empty_p' for optimize empty?' 2012-09-26 09:34:46 +00:00
test_pack.rb set encoding to ASCII for appropriate String#unpack modifiers 2012-10-19 13:13:32 +00:00
test_parse.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb Add test for instance_exec receiving a curried proc. 2012-10-23 17:46:33 +00:00
test_process.rb test_process.rb: use never existing file 2012-11-01 19:40:15 +00:00
test_rand.rb array.c: use rb_random_ulong_limited 2012-10-09 09:01:40 +00:00
test_range.rb
test_rational.rb test_complex.rb, test_rational.rb: revert some assertions 2012-07-26 03:08:41 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb * test/ruby/test_refinement.rb (test_new_method_by_send, 2012-11-03 00:09:26 +00:00
test_regexp.rb * test/ruby/test_regexp.rb 2012-10-16 00:40:26 +00:00
test_require.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_rubyoptions.rb parse.y: warn static content assign in cond 2012-10-27 15:49:09 +00:00
test_settracefunc.rb * test/ruby/test_settracefunc.rb: remove trailing spaces. 2012-10-21 10:16:27 +00:00
test_signal.rb Revert r35622. 2012-05-11 15:24:27 +00:00
test_sleep.rb Cent OS 5.6 wakes up in 4.989596sec from sleep(5). 2012-04-24 12:17:02 +00:00
test_sprintf.rb * parse.y (rb_check_id_cstr): new function to check if ID is 2012-04-11 13:31:23 +00:00
test_sprintf_comb.rb
test_string.rb test_string.rb: missing test 2012-10-11 06:50:31 +00:00
test_stringchar.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_struct.rb * hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods. 2012-04-24 03:46:55 +00:00
test_super.rb test_super.rb: super from BEGIN 2012-09-25 01:10:32 +00:00
test_symbol.rb * test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test. 2012-08-23 11:51:30 +00:00
test_syntax.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_system.rb * win32/win32.c (szInternalCmds, internal_match, internal_cmd_match): 2012-04-23 11:47:02 +00:00
test_thread.rb * thread.c: added Thread#thread_variable_(get|set), 2012-10-29 17:22:36 +00:00
test_time.rb update tests. 2012-06-11 12:58:55 +00:00
test_time_tz.rb * test/ruby/test_time_tz.rb (TestTimeTZ): run TZ tests on Mac OS X, 2012-04-18 07:10:38 +00:00
test_trace.rb
test_transcode.rb Added a test for CoW strings. 2012-08-23 21:14:31 +00:00
test_undef.rb
test_unicode_escape.rb test_unicode_escape.rb: set script encoding 2012-09-29 11:18:57 +00:00
test_variable.rb
test_whileuntil.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_yield.rb
ut_eof.rb