summaryrefslogtreecommitdiff
path: root/test/date
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-07 07:56:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-07 07:56:40 +0000
commit7a363dd91fff378d2c93b4e27d13b2d4ba985e0d (patch)
treec5fece094c1703c079057386e03eee9cdc97f573 /test/date
parenta13b04410968e504e08997cbaa6b1c3b40be7494 (diff)
downloadruby-7a363dd91fff378d2c93b4e27d13b2d4ba985e0d.tar.gz
test_date_arith.rb: needs `test_` prefix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date')
-rw-r--r--test/date/test_date_arith.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/date/test_date_arith.rb b/test/date/test_date_arith.rb
index d0d27d72f7..94822e5764 100644
--- a/test/date/test_date_arith.rb
+++ b/test/date/test_date_arith.rb
@@ -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)