summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-19 15:43:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-19 15:43:05 +0000
commit46bafdd84d6236d80645d87e000e0ab18bf497c7 (patch)
tree103854f07e72e6283add8f565ef61eff0ea36287 /test
parente23e534ae5d38b552e0c8f63e79c0e341c7439ce (diff)
downloadruby-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.rb2
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