diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-19 15:43:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-19 15:43:05 +0000 |
commit | 46bafdd84d6236d80645d87e000e0ab18bf497c7 (patch) | |
tree | 103854f07e72e6283add8f565ef61eff0ea36287 /test | |
parent | e23e534ae5d38b552e0c8f63e79c0e341c7439ce (diff) | |
download | ruby-46bafdd84d6236d80645d87e000e0ab18bf497c7.tar.gz |
* file.c (rb_file_s_extname): skip last directory separators.
[ruby-core:29627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 7824b6e85f..5c34c915f8 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -403,6 +403,8 @@ class TestFileExhaustive < Test::Unit::TestCase end end end + bug3175 = '[ruby-core:29627]' + assert_equal(".rb", File.extname("/tmp//bla.rb"), bug3175) end def test_split |