gofmt -s -w

This commit is contained in:
Zack Scholl 2019-09-07 09:41:24 -07:00
parent 9a70ea90d1
commit 0277abe5d4
2 changed files with 4 additions and 5 deletions

View File

@ -45,11 +45,10 @@ func TestEncryption(t *testing.T) {
}
func TestNoEncryption(t *testing.T) {
bob, err := New(nil, nil)
assert.Nil(t, err)
jane, err := New(nil,nil)
jane, err := New(nil, nil)
assert.Nil(t, err)
enc, err := bob.Encrypt([]byte("hello, world"))
assert.Nil(t, err)
@ -57,5 +56,5 @@ func TestNoEncryption(t *testing.T) {
assert.Nil(t, err)
assert.Equal(t, dec, []byte("hello, world"))
assert.Equal(t, enc, []byte("hello, world"))
}
}

View File

@ -3,10 +3,10 @@ package message
import (
"encoding/json"
log "github.com/schollz/logger"
"github.com/schollz/croc/v6/src/comm"
"github.com/schollz/croc/v6/src/compress"
"github.com/schollz/croc/v6/src/crypt"
log "github.com/schollz/logger"
)
// Message is the possible payload for messaging