mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 27404:
* 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_7@28212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9252cb7d33
commit
e3947edd23
4 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue