Add SonarQube #22
@@ -4,7 +4,7 @@ import "testing"
|
|||||||
|
|
||||||
func TestGetCurrentIP(t *testing.T) {
|
func TestGetCurrentIP(t *testing.T) {
|
||||||
myip := getLocalIP()
|
myip := getLocalIP()
|
||||||
if myip == nil {
|
if myip == "" {
|
||||||
t.Log("could not retrieve current IP")
|
t.Log("could not retrieve current IP")
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user