Skip to content

Commit 3cc40bf

Browse files
committed
Address PR review feedback
1 parent fd59950 commit 3cc40bf

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎lib/ipaddr.rb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ def to_hex
219219
when Socket::AF_INET6
220220
@addr.to_s(16).rjust(32, '0')
221221
else
222-
# In case we ever add support for AF_INET8, this should raise an error.
223222
raise AddressFamilyError, "unsupported address family"
224223
end
225224
end

‎test/test_ipaddr.rb‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# frozen_string_literal: true
22
require 'test/unit'
3-
require 'core_assertions'
43
require 'ipaddr'
54

65
class TC_IPAddr < Test::Unit::TestCase
7-
include Test::Unit::CoreAssertions
8-
96
def test_s_new
107
[
118
["3FFE:505:ffff::/48"],

0 commit comments

Comments
 (0)