Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
23doors committed May 25, 2020
1 parent d2e7fd3 commit 7b334d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package util

import (
"context"
"encoding/json"
"errors"
"io"
"net"
"testing"
"time"
"unicode/utf8"

json "github.com/json-iterator/go"
. "github.com/smartystreets/goconvey/convey"
"github.com/stretchr/testify/mock"
"google.golang.org/grpc/peer"
Expand All @@ -29,7 +29,7 @@ func TestGenerateKey(t *testing.T) {
val2 := GenerateKey()
So(val1, ShouldNotEqual, val2)
So(len(val1), ShouldEqual, len(val2))
So(len(val1), ShouldEqual, 32)
So(len(val1), ShouldEqual, 40)
})
}

Expand Down

0 comments on commit 7b334d2

Please sign in to comment.