verbose test output

This commit is contained in:
redanthrax 2022-06-22 16:36:38 -07:00
parent 6853f1639e
commit 080873d74b
6 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@ func TestPublicIP(t *testing.T) {
for _, tt := range testTable {
t.Run(tt.name, func(t *testing.T) {
result := network.PublicIP(tt.proxy)
t.Logf("result: (%v)", result)
if result != tt.expected {
t.Errorf("expected %s, got %s", tt.expected, result)
}