Skip to content
Snippets Groups Projects
Commit 634a09c1 authored by Ming Deng's avatar Ming Deng
Browse files

Add UT

parent ce520c9f
No related branches found
No related tags found
No related merge requests found
......@@ -291,3 +291,8 @@ func TestExportWithApplicationConfig(t *testing.T) {
v2, _ := regProtocol.bounds.Load(getCacheKey(newUrl))
assert.NotNil(t, v2)
}
func TestGetProtocol(t *testing.T) {
singleton := GetProtocol()
assert.True(t, singleton == GetProtocol())
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment