summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_subversion_controller_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-10-02 07:14:37 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-10-02 07:14:37 +0000
commit8bab80892823839b6c7a835d84ee31760aab7346 (patch)
tree73ec1d94ca693c0300d2ba98c603b5b774bbfe98 /test/functional/repositories_subversion_controller_test.rb
parent5b0e4a8e2d6e5c802673f622fa0a838218d95f16 (diff)
downloadredmine-8bab80892823839b6c7a835d84ee31760aab7346.tar.gz
redmine-8bab80892823839b6c7a835d84ee31760aab7346.zip
Fix repository browser does not show \"+\" (plus sign) in filename (#37718).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_subversion_controller_test.rb')
-rw-r--r--test/functional/repositories_subversion_controller_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb
index ca2a224a8..807c8d03f 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -27,7 +27,7 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest
:issue_categories, :enumerations, :custom_fields, :custom_values, :trackers
PRJ_ID = 3
- NUM_REV = 13
+ NUM_REV = 14
def setup
super
@@ -121,9 +121,10 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest
assert_response :success
assert_select 'table.entries tbody' do
- assert_select 'tr', 5
+ assert_select 'tr', 6
assert_select 'tr.dir td.filename a', :text => '[folder_with_brackets]'
assert_select 'tr.dir td.filename a', :text => 'folder'
+ assert_select 'tr.file td.filename a', :text => '+.md'
assert_select 'tr.file td.filename a', :text => '.project'
assert_select 'tr.file td.filename a', :text => 'helloworld.c'
assert_select 'tr.file td.filename a', :text => 'textfile.txt'