mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00: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:
parent
7838afb39b
commit
ee7fe71693
@ -36,7 +36,7 @@ class FilesystemAdapterTest < ActiveSupport::TestCase
|
|||||||
assert_equal ["subdir", "dirfile"], @adapter.entries(path).collect(&:name)
|
assert_equal ["subdir", "dirfile"], @adapter.entries(path).collect(&:name)
|
||||||
end
|
end
|
||||||
# If y try to use "..", the path is ignored
|
# If y try to use "..", the path is ignored
|
||||||
["/../","dir/../", "..", "../", "/..", "dir/.."].each do |path|
|
["/../", "dir/../", "..", "../", "/..", "dir/.."].each do |path|
|
||||||
assert_equal(
|
assert_equal(
|
||||||
["dir", "japanese", "test"], @adapter.entries(path).collect(&:name),
|
["dir", "japanese", "test"], @adapter.entries(path).collect(&:name),
|
||||||
".. must be ignored in path argument")
|
".. must be ignored in path argument")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user