summaryrefslogtreecommitdiff
path: root/check_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-02-19 01:10:22 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-02-19 01:10:22 +0100
commitff4ddb2495b385ca2b793628145433611878b5c7 (patch)
treec44e2308c87777f8943d82c10868dccc63aec8c3 /check_test.go
parent93628b37bdd639934e302d4317b6b5656aa7b722 (diff)
Refine test
Diffstat (limited to 'check_test.go')
-rw-r--r--check_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/check_test.go b/check_test.go
index 702c48a..61d2f22 100644
--- a/check_test.go
+++ b/check_test.go
@@ -4,5 +4,7 @@ import "testing"
func TestKey(t *testing.T) {
k := Key()
- t.Log(k)
+ if len(k) != 32 {
+ t.Error("expected a string of 32 chars")
+ }
}