summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/iputils_test.go
diff options
context:
space:
mode:
authorinsomniac <insomniacslk@users.noreply.github.com>2018-11-27 18:36:50 +0000
committerGitHub <noreply@github.com>2018-11-27 18:36:50 +0000
commitad2fa9b4836d5bb087cc4835070669c53960fd0f (patch)
tree1b537f64c4c62a0ad2d57e26bb80948cdc1db292 /dhcpv6/iputils_test.go
parent0b70b1f1fb1bf27e16203b02c4fc74bea90d5b1e (diff)
Removed unreachable code, fixed misspelling (#212)
* Removed unreachable code * Addressed misspelling errors
Diffstat (limited to 'dhcpv6/iputils_test.go')
-rw-r--r--dhcpv6/iputils_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/iputils_test.go b/dhcpv6/iputils_test.go
index faa13a8..02ee2d6 100644
--- a/dhcpv6/iputils_test.go
+++ b/dhcpv6/iputils_test.go
@@ -52,7 +52,7 @@ func (s *MatchingAddressTestSuite) SetupTest() {
}
func (s *MatchingAddressTestSuite) TestGetMatchingAddr() {
- // Check if error from InterfaceAddresses immidately returns error
+ // Check if error from InterfaceAddresses immediately returns error
s.m.On("InterfaceAddresses", "eth0").Return(nil, ErrDummy).Once()
_, err := getMatchingAddr("eth0", s.Match)
s.Assert().Equal(ErrDummy, err)