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
nobu 4e58f21f79 Add tests for File.extname
* file.c (rb_file_s_extname): [DOC] add an example.
* test/ruby/test_path.rb (test_extname): add tests.  [Fix GH-978]
  * path starts with dot ('.a.rb')
  * path includes dir name ('a/b/d/test.rb')
  * path includes dir name and dir name starts with dot
    ('.a/b/d/test.rb')

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-24 07:35:38 +00:00
..
enc
allpairs.rb
beginmainend.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb * method.h: add VM_METHOD_TYPE_ALIAS rb_method_definition_t::type 2015-05-30 18:45:28 +00:00
test_argf.rb io.c (argf_read_nonblock): support `exception: false' 2015-07-17 18:02:53 +00:00
test_arity.rb
test_array.rb * test/ruby/test_array.rb 2015-07-07 15:41:57 +00:00
test_assignment.rb
test_autoload.rb test_autoload.rb: use class_eval 2015-05-18 09:41:21 +00:00
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb numeric.c: Bignum 0 is not positive 2015-05-19 04:10:12 +00:00
test_call.rb
test_case.rb
test_class.rb insns.def: preserve encoding 2015-06-28 17:10:26 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * Move test cases from test/ruby/test_complex.rb to test/test_cmath.rb 2015-06-06 22:11:00 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_defined.rb * vm_insnhelper.c (vm_defined): check respond_to_missing? 2015-06-02 19:49:22 +00:00
test_dir.rb * include/ruby/ruby.h: $SAFE=3 is now obsolete. 2015-06-17 05:29:51 +00:00
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb all?, any?, one?, none? of empty Enumerable 2015-07-04 11:54:04 +00:00
test_enumerator.rb
test_env.rb * include/ruby/ruby.h: $SAFE=2 is now obsolete. 2015-06-18 14:21:03 +00:00
test_eval.rb
test_exception.rb error.c: NameError#receiver 2015-06-18 04:32:50 +00:00
test_extlibs.rb fix error 2015-06-12 13:22:55 +00:00
test_fiber.rb
test_file.rb * include/ruby/ruby.h: $SAFE=3 is now obsolete. 2015-06-17 05:29:51 +00:00
test_file_exhaustive.rb
test_fixnum.rb numeric.c: Numeric#positive? and Numeric#negative? 2015-05-17 06:01:47 +00:00
test_flip.rb
test_float.rb numeric.c: Numeric#positive? and Numeric#negative? 2015-05-17 06:01:47 +00:00
test_fnmatch.rb
test_gc.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_hash.rb hash.c: fetch_values 2015-06-12 08:34:17 +00:00
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb io.c: reopen OS encoding path 2015-06-30 08:28:28 +00:00
test_io_m17n.rb use Timeout.timeout 2015-07-13 10:07:01 +00:00
test_iseq.rb iseq.c: check srouce type 2015-05-19 09:54:44 +00:00
test_iterator.rb
test_keyword.rb
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb vm.c: fix mark with rewinding cfp 2015-07-16 05:18:40 +00:00
test_m17n.rb string.c: fix coderange of reverse 2015-07-22 14:44:20 +00:00
test_m17n_comb.rb
test_marshal.rb
test_math.rb
test_metaclass.rb
test_method.rb * test/ruby/test_method.rb (TestMethod#test_{instance,define}_method): assumed 2015-07-07 15:57:12 +00:00
test_mixed_unicode_escapes.rb
test_module.rb insns.def: preserve encoding 2015-06-28 17:06:59 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb numeric.c: Numeric#positive? and Numeric#negative? 2015-05-17 06:01:47 +00:00
test_object.rb test_object.rb: use assert_separately 2015-07-01 08:17:37 +00:00
test_objectspace.rb * gc.c (internal_object_p): Now a singleton classes appear by 2015-07-21 19:04:56 +00:00
test_optimization.rb string.c: ensure String#freeze resizes internal buffer 2015-07-06 19:45:02 +00:00
test_pack.rb * pack.c (pack_{un,}pack): new template character j and J, pointer 2015-06-12 12:22:36 +00:00
test_parse.rb test_parse.rb: move assertions 2015-05-22 12:10:52 +00:00
test_path.rb Add tests for File.extname 2015-07-24 07:35:38 +00:00
test_pipe.rb
test_primitive.rb
test_proc.rb
test_process.rb suppress warnings 2015-07-21 23:24:02 +00:00
test_rand.rb
test_range.rb * test/ruby/test_range.rb: Add test case for Range#end with 2015-07-22 06:48:53 +00:00
test_rational.rb numeric.c: Numeric#positive? and Numeric#negative? 2015-05-17 06:01:47 +00:00
test_rational2.rb
test_readpartial.rb use Timeout.timeout 2015-07-13 10:07:01 +00:00
test_refinement.rb * vm_method.c (rb_alias): should resolve refined methods. 2015-05-26 13:16:18 +00:00
test_regexp.rb * include/ruby/ruby.h: $SAFE=3 is now obsolete. 2015-06-17 05:29:51 +00:00
test_require.rb class.c: TypeError when superclass mismatch 2015-06-28 03:07:37 +00:00
test_rubyoptions.rb
test_rubyvm.rb
test_settracefunc.rb
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb * string.c (rb_str_crypt): Raise ArgumentError when 2015-05-10 02:49:01 +00:00
test_stringchar.rb
test_struct.rb
test_super.rb * vm_insnhelper.c (vm_search_super_method): do not skip calling 2015-07-06 09:02:34 +00:00
test_symbol.rb test_parse.rb: move assertions 2015-05-22 12:10:52 +00:00
test_syntax.rb parse.y: pop cmdarg 2015-07-23 00:05:30 +00:00
test_system.rb
test_thread.rb * include/ruby/ruby.h: $SAFE=3 is now obsolete. 2015-06-17 05:29:51 +00:00
test_threadgroup.rb
test_time.rb
test_time_tz.rb
test_trace.rb
test_transcode.rb transcode.c: empty encoding name 2015-07-03 03:25:21 +00:00
test_undef.rb
test_unicode_escape.rb
test_variable.rb variable.c: remove generic ivar support for special constants 2015-06-03 20:53:35 +00:00
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb