mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
add functions/vendor files
This commit is contained in:
14
vendor/github.com/go-openapi/runtime/file_test.go
generated
vendored
Normal file
14
vendor/github.com/go-openapi/runtime/file_test.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package runtime
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"io"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestFileImplementsIOReader(t *testing.T) {
|
||||
var file interface{} = File{}
|
||||
expected := "that File implements io.Reader"
|
||||
_, ok := file.(io.Reader)
|
||||
assert.True(t, ok, expected)
|
||||
}
|
||||
Reference in New Issue
Block a user