MCPcopy Create free account
hub / github.com/CPChain/chain / TestConvertDomainNodeWithDomainFail

Function TestConvertDomainNodeWithDomainFail

configs/general_test.go:169–172  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

167}
168
169func TestConvertDomainNodeWithDomainFail(t *testing.T) {
170 _, err := convertDomainNode("enode://2ddfb534019e6b446fb4465742f266d04fae661089e3dac6a4c841ad0fcf5569f8d049203079bb64e20d1a32fc84b584920839a2120cd5e8886744719452d936@www.notexistwebsite111.com:30317")
171 assert.NotNil(t, err)
172}
173
174func TestConvertValidators(t *testing.T) {
175 validators := []string{"enode://2ddfb534019e6b446fb4465742f266d04fae661089e3dac6a4c841ad0fcf5569f8d049203079bb64e20d1a32fc84b584920839a2120cd5e8886744719452d936@www.baidu.com:30317",

Callers

nothing calls this directly

Calls 1

convertDomainNodeFunction · 0.85

Tested by

no test coverage detected