mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_date_arith.rb: needs test_
prefix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a13b044109
commit
7a363dd91f
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ require 'date'
|
|||
|
||||
class TestDateArith < Test::Unit::TestCase
|
||||
|
||||
def new_offset
|
||||
def test_new_offset
|
||||
d = DateTime.new(2002, 3, 14)
|
||||
assert_equal(Rational(9, 24), d.new_offset(Rational(9, 24)).offset)
|
||||
assert_equal(Rational(9, 24), d.new_offset('+0900').offset)
|
||||
|
|
Loading…
Reference in a new issue