From 3a0d5cb5900d43394a0904a3e7eeca6d3e176bd9 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 16:46:07 +0900 Subject: [PATCH] added test --- proxy/keystore/keystore_service_test.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/proxy/keystore/keystore_service_test.go b/proxy/keystore/keystore_service_test.go index 918d979..d3f6edf 100644 --- a/proxy/keystore/keystore_service_test.go +++ b/proxy/keystore/keystore_service_test.go @@ -1 +1,23 @@ package keystore + +import ( + "testing" + "strings" +) + +func TestGetKey(t *testing.T) { + + + str, _:= NewKeyStoreSerivce().CreateKey() + + + t.Log(str) + t.Log(len(str)) + + ss := strings.Replace(str, "-", "", -1) + + + t.Log(ss); + t.Log(len(ss)) + +} \ No newline at end of file