mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Replace gsub with tr, delete, or squeeze (#34161).
git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -21,7 +21,7 @@ require File.expand_path('../../../../../../test_helper', __FILE__)
|
||||
|
||||
class BazaarAdapterTest < ActiveSupport::TestCase
|
||||
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository').to_s
|
||||
REPOSITORY_PATH.gsub!(/\/+/, '/')
|
||||
REPOSITORY_PATH.squeeze!('/')
|
||||
|
||||
if File.directory?(REPOSITORY_PATH)
|
||||
def setup
|
||||
|
||||
Reference in New Issue
Block a user