diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 15:19:21 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 15:19:21 +0000 |
commit | 7d27c0a2d83f391943e0eb03c676c028b95925a1 (patch) | |
tree | 41a26587dc7c67419b48a46d3e76d3bbe3cfd52f /test/resolv | |
parent | 825e191296d67cbc066ea05f13c29769536c2da1 (diff) | |
download | ruby-7d27c0a2d83f391943e0eb03c676c028b95925a1.tar.gz |
fix Resolv::LOC::Coord.create.
* lib/resolv.rb (Resolv::LOC::Coord.create): fixed.
[ruby-core:72567] [Bug #11912] fixed by Eric Wong and Kazuhiro
NISHIYAMA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/resolv')
-rw-r--r-- | test/resolv/test_resource.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/resolv/test_resource.rb b/test/resolv/test_resource.rb index 8045bbc6ee..b75cf67f31 100644 --- a/test/resolv/test_resource.rb +++ b/test/resolv/test_resource.rb @@ -19,4 +19,8 @@ class TestResolvResource < Test::Unit::TestCase bug10857 = '[ruby-core:68128] [Bug #10857]' assert_equal(@name1.hash, @name2.hash, bug10857) end + + def test_coord + Resolv::LOC::Coord.create('1 2 1.1 N') + end end |