Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

avoid warning: ambiguous first argument; put parentheses or even spaces

  • Loading branch information...
commit dadf35b2a9b0abb6421bc08f2fedba3dbe819d5e 1 parent 457f770
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/test/time_zone_test.rb
View
2  activesupport/test/time_zone_test.rb
@@ -282,7 +282,7 @@ def test_unknown_zone_shouldnt_have_tzinfo_nor_utc_offset
def test_unknown_zone_with_utc_offset
zone = ActiveSupport::TimeZone.create("bogus", -21_600)
- assert_equal -21_600, zone.utc_offset
+ assert_equal(-21_600, zone.utc_offset)
end
def test_new
Please sign in to comment.
Something went wrong with that request. Please try again.