Formatting

This commit is contained in:
Sarah Jamie Lewis 2016-02-27 19:26:43 -08:00
parent a411fb8695
commit ad69913be9
2 changed files with 12 additions and 13 deletions

View File

@ -11,10 +11,9 @@ func TestOpenChatChannel(t *testing.T) {
// TODO: More Indepth Test Of Output // TODO: More Indepth Test Of Output
} }
func TestOpenContactRequestChannel(t *testing.T) { func TestOpenContactRequestChannel(t *testing.T) {
messageBuilder := new(MessageBuilder) messageBuilder := new(MessageBuilder)
_, err := messageBuilder.OpenContactRequestChannel(3,"Nickname","Message") _, err := messageBuilder.OpenContactRequestChannel(3, "Nickname", "Message")
if err != nil { if err != nil {
t.Errorf("Error building open contact request channel message: %s", err) t.Errorf("Error building open contact request channel message: %s", err)
} }
@ -23,7 +22,7 @@ func TestOpenContactRequestChannel(t *testing.T) {
func TestOpenAuthenticationChannel(t *testing.T) { func TestOpenAuthenticationChannel(t *testing.T) {
messageBuilder := new(MessageBuilder) messageBuilder := new(MessageBuilder)
_, err := messageBuilder.OpenAuthenticationChannel(1,[16]byte{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}) _, err := messageBuilder.OpenAuthenticationChannel(1, [16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0})
if err != nil { if err != nil {
t.Errorf("Error building open authentication channel message: %s", err) t.Errorf("Error building open authentication channel message: %s", err)
} }