From 8e3d0354a5c22da9ecbeeed77b5c1ebf405a76b0 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 14:28:14 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/issue_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19205 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 095d97589..d6008938d 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -2436,9 +2436,11 @@ class IssueTest < ActiveSupport::TestCase assert !Issue.new(:due_date => today).overdue? assert !Issue.new(:due_date => (today + 1.day).to_date).overdue? assert !Issue.new(:due_date => nil).overdue? - assert !Issue.new(:due_date => (today - 1.day).to_date, - :status => IssueStatus.where(:is_closed => true).first - ).overdue? + assert !Issue. + new( + :due_date => (today - 1.day).to_date, + :status => IssueStatus.where(:is_closed => true).first + ).overdue? end test "#behind_schedule? should be false if the issue has no start_date" do -- 2.39.5