diff options
author | Espartaco Palma <[email protected]> | 2018-10-27 17:13:31 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-10-07 17:46:00 +0900 |
commit | b23fba91ae60c71649cb5e5f8b63c87e6a63020f () | |
tree | 918d2e9fded7eb4ce12332c57f32c0cad30863ea /test/test_ipaddr.rb | |
parent | 323e7a6744a18a729d8011e237e64291cb6c02bd (diff) |
[ruby/ipaddr] Removing superfluos assingments & return
Also adding test for ntop https://.com/ruby/ipaddr/commit/0ba16cca10
-rw-r--r-- | test/test_ipaddr.rb | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -116,6 +116,23 @@ class TC_IPAddr < Test::Unit::TestCase assert_equal("192.168.2.1", IPAddr.new_ntoh(a.hton).to_s) end def test_ipv4_compat a = IPAddr.new("::192.168.1.2") assert_equal("::192.168.1.2", a.to_s) |