diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-21 12:46:52 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-21 12:46:52 +0000 |
commit | 78089bf053b3b200e54cdf119d0b91a64a0cd50d (patch) | |
tree | ff3192d50896bca5caf4aacb0e210ba47e129766 /test | |
parent | 4e941906c4679701b6a6284fca53e5236de12926 (diff) | |
download | redmine-78089bf053b3b200e54cdf119d0b91a64a0cd50d.tar.gz redmine-78089bf053b3b200e54cdf119d0b91a64a0cd50d.zip |
cleanup: rubocop: fix Layout/IndentFirstArrayElement in RepositoryGitTest#test_fetch_changesets_incremental
git-svn-id: http://svn.redmine.org/redmine/trunk@19141 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/repository_git_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index 78a55c9c7..1063894e1 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -155,15 +155,15 @@ class RepositoryGitTest < ActiveSupport::TestCase assert_equal NUM_HEAD, extra_info_heads.size extra_info_heads.delete_if { |x| x == "83ca5fd546063a3c7dc2e568ba3355661a9e2b2c" } assert_equal NUM_HEAD - 2, extra_info_heads.size - - 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 |