2
0
forked from drew/smtprelay

Fix code formatting with gofmt -s

This commit is contained in:
Bernhard Froehlich
2021-04-03 19:00:38 +00:00
parent 7b199cc6ae
commit 441a53cfd9
4 changed files with 35 additions and 38 deletions

View File

@@ -6,24 +6,24 @@ import (
func TestSplitProto(t *testing.T) {
var tests = []struct {
input string
proto string
addr string
input string
proto string
addr string
}{
{
input: "localhost",
proto: "",
addr: "localhost",
input: "localhost",
proto: "",
addr: "localhost",
},
{
input: "tls://my.local.domain",
proto: "tls",
addr: "my.local.domain",
input: "tls://my.local.domain",
proto: "tls",
addr: "my.local.domain",
},
{
input: "starttls://my.local.domain",
proto: "starttls",
addr: "my.local.domain",
input: "starttls://my.local.domain",
proto: "starttls",
addr: "my.local.domain",
},
}