2018-05-27 22:40:42 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
2018-06-20 11:29:55 +08:00
|
|
|
func TestCommenterTokenNewBasics(t *testing.T) {
|
2018-05-27 22:40:42 +08:00
|
|
|
failTestOnError(t, setupTestEnv())
|
|
|
|
|
2018-06-20 11:29:55 +08:00
|
|
|
if _, err := commenterTokenNew(); err != nil {
|
|
|
|
t.Errorf("unexpected error creating new commenterToken: %v", err)
|
2018-05-27 22:40:42 +08:00
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|