Merge PR #3517: Increasing test coverage in keys/client package

This commit is contained in:
Juan Leni
2019-02-08 12:45:23 -08:00
committed by Jack Zampolin
parent cff985ffc5
commit b5fdb83830
49 changed files with 1137 additions and 312 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ func TestVersion(t *testing.T) {
reg, err := regexp.Compile(`\d+\.\d+\.\d+.*`)
require.Nil(t, err)
match := reg.MatchString(body)
require.True(t, match, body, fmt.Sprintf("%s", body))
require.True(t, match, body, body)
// node info
res, body = Request(t, port, "GET", "/node_version", nil)