Browse Source

add space after comma to FilesystemAdapterTest

git-svn-id: http://svn.redmine.org/redmine/trunk@20127 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA 3 years ago
parent
commit
ee7fe71693
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb

+ 1
- 1
test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb View File

@@ -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")

Loading…
Cancel
Save