mirror of
https://github.com/vacp2p/go-multiprotocol.git
synced 2026-01-08 20:18:09 -05:00
empties
This commit is contained in:
@@ -6,6 +6,11 @@ import (
|
||||
|
||||
func TestInit(t *testing.T) {
|
||||
|
||||
// empty
|
||||
Protocols = make([]Protocol, 0)
|
||||
protocolsByCode = make(map[int]Protocol)
|
||||
protocolsByName = make(map[string]Protocol)
|
||||
|
||||
err := Init("testdata/multiprotocol.csv")
|
||||
if err != nil {
|
||||
t.Errorf("unexpected failure: %s", err.Error())
|
||||
|
||||
Reference in New Issue
Block a user