Refactor port mapping functions for build simplicity

This commit is contained in:
Ross Cadogan 2016-11-07 19:21:47 +00:00
parent e75236414e
commit 6a56597d45
3 changed files with 7 additions and 13 deletions

View file

@ -63,3 +63,4 @@ func TestStructMapSubtract(t *testing.T) {
assert.Equal(t, map[string]struct{}{"a": x, "b": x, "c": x}, m1)
assert.Equal(t, map[string]struct{}{"a": x, "c": x}, m2)
}