mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fixing unit test
This commit is contained in:
@@ -20,13 +20,10 @@ func TestNewId(t *testing.T) {
|
||||
func TestRandomString(t *testing.T) {
|
||||
for i := 0; i < 1000; i++ {
|
||||
r := NewRandomString(32)
|
||||
t.Log(r)
|
||||
if len(r) != 32 {
|
||||
t.Fatal("should be 32 chars")
|
||||
}
|
||||
}
|
||||
|
||||
t.Fatal("test")
|
||||
}
|
||||
|
||||
func TestAppError(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user