* test/ruby/test_dir.rb: use string instead of symbol as file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f26bb91386
commit
ddf72817b0
@ -1,3 +1,7 @@
|
|||||||
|
Sun Jan 31 23:07:23 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* test/ruby/test_dir.rb: use string instead of symbol as file name.
|
||||||
|
|
||||||
Sun Jan 31 22:41:33 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
Sun Jan 31 22:41:33 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* string.c (rb_string_value): fix the previous commit.
|
* string.c (rb_string_value): fix the previous commit.
|
||||||
|
@ -197,7 +197,7 @@ class TestDir < Test::Unit::TestCase
|
|||||||
|
|
||||||
def test_symlink
|
def test_symlink
|
||||||
begin
|
begin
|
||||||
[:dummy, *?a..?z].each do |f|
|
["dummy", *?a..?z].each do |f|
|
||||||
File.symlink(File.join(@root, f),
|
File.symlink(File.join(@root, f),
|
||||||
File.join(@root, "symlink-#{ f }"))
|
File.join(@root, "symlink-#{ f }"))
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user