From 0217f6266a052877d40cb81cbf95be93dfdd66ce Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 21 Nov 2019 12:46:30 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/IndentFirstArrayElement in RepositoryGitTest#test_db_consistent_ordering_before_1_2 git-svn-id: http://svn.redmine.org/redmine/trunk@19139 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_git_test.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index bfd1dfa75..ee44083eb 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -305,14 +305,15 @@ class RepositoryGitTest < ActiveSupport::TestCase extra_info_heads = @repository.extra_info["heads"].dup extra_info_heads.delete_if { |x| x == "83ca5fd546063a3c7dc2e568ba3355661a9e2b2c" } - del_revs = [ + del_revs = + [ "83ca5fd546063a3c7dc2e568ba3355661a9e2b2c", "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", "4f26664364207fa8b1af9f8722647ab2d4ac5d43", "deff712f05a90d96edbd70facc47d944be5897e3", "32ae898b720c2f7eec2723d5bdd558b4cb2d3ddf", "7e61ac704deecde634b51e59daa8110435dcb3da", - ] + ] @repository.changesets.each do |rev| rev.destroy if del_revs.detect {|r| r == rev.scmid.to_s } end -- 2.39.5