update resume support to draft/resume-0.3

This commit is contained in:
Shivaram Lingamneni
2019-02-12 00:27:57 -05:00
parent cf2445abe7
commit afe94d43c3
10 changed files with 121 additions and 47 deletions

View File

@@ -16,7 +16,7 @@ const (
func TestGenerateSecretToken(t *testing.T) {
token := GenerateSecretToken()
if len(token) < 22 {
if len(token) != SecretTokenLength {
t.Errorf("bad token: %v", token)
}
}