mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
avoid warning: ambiguous first argument; put parentheses or even spaces
This commit is contained in:
@@ -282,7 +282,7 @@ class TimeZoneTest < Test::Unit::TestCase
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user