Files
go-msgauth/format_test.go
T
2017-02-24 10:18:07 +01:00

15 lines
274 B
Go

package msgauth
import (
"testing"
)
func TestFormat(t *testing.T) {
for _, test := range msgauthTests {
v := Format(test.identifier, test.results)
if v != test.value {
t.Errorf("Expected formatted header field to be \n%v\n but got \n%v", test.value, v)
}
}
}