test(transport): add unit tests for transport behavior using Testify
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package transport
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestTransportInterface(t *testing.T) {
|
||||
var _ Transport = (*httpServer)(nil)
|
||||
var _ Transport = (*https)(nil)
|
||||
var _ Transport = (*tcp)(nil)
|
||||
|
||||
assert.True(t, true)
|
||||
}
|
||||
Reference in New Issue
Block a user