Merge PR #3517: Increasing test coverage in keys/client package
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user