]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of ApplicationHelperTest#test_due_date_distance_in_words
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 15 Jul 2020 16:36:47 +0000 (16:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 15 Jul 2020 16:36:47 +0000 (16:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19904 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index 04121c4d0aaf9f5a59a476832434a83489abd5ee..90ed7851385ef00df938c6848a9b4da509a4150a 100644 (file)
@@ -1504,14 +1504,15 @@ class ApplicationHelperTest < Redmine::HelperTest
   end
 
   def test_due_date_distance_in_words
-    to_test = { Date.today => 'Due in 0 days',
-                Date.today + 1 => 'Due in 1 day',
-                Date.today + 100 => 'Due in about 3 months',
-                Date.today + 20000 => 'Due in over 54 years',
-                Date.today - 1 => '1 day late',
-                Date.today - 100 => 'about 3 months late',
-                Date.today - 20000 => 'over 54 years late',
-               }
+    to_test = {
+      Date.today => 'Due in 0 days',
+      Date.today + 1 => 'Due in 1 day',
+      Date.today + 100 => 'Due in about 3 months',
+      Date.today + 20000 => 'Due in over 54 years',
+      Date.today - 1 => '1 day late',
+      Date.today - 100 => 'about 3 months late',
+      Date.today - 20000 => 'over 54 years late',
+    }
     ::I18n.locale = :en
     to_test.each do |date, expected|
       assert_equal expected, due_date_distance_in_words(date)