mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
add space after comma to FilesystemAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20127 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -36,7 +36,7 @@ class FilesystemAdapterTest < ActiveSupport::TestCase
|
||||
assert_equal ["subdir", "dirfile"], @adapter.entries(path).collect(&:name)
|
||||
end
|
||||
# If y try to use "..", the path is ignored
|
||||
["/../","dir/../", "..", "../", "/..", "dir/.."].each do |path|
|
||||
["/../", "dir/../", "..", "../", "/..", "dir/.."].each do |path|
|
||||
assert_equal(
|
||||
["dir", "japanese", "test"], @adapter.entries(path).collect(&:name),
|
||||
".. must be ignored in path argument")
|
||||
|
||||
Reference in New Issue
Block a user