mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 5 additions and 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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue