diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-31 14:08:19 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-31 14:08:19 +0000 |
commit | ddf72817b05464508d2c89add72babca99a50820 (patch) | |
tree | f0d4eaa82963629943832787d103cfc135cf1244 | |
parent | f26bb91386403a8f8be1370442bac41cc24e2d37 (diff) |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_dir.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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> * string.c (rb_string_value): fix the previous commit. diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index a30a367243..236fd991db 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -197,7 +197,7 @@ class TestDir < Test::Unit::TestCase def test_symlink begin - [:dummy, *?a..?z].each do |f| + ["dummy", *?a..?z].each do |f| File.symlink(File.join(@root, f), File.join(@root, "symlink-#{ f }")) end |