test inferface implentation for FileStore
This commit is contained in:
parent
9f94d0591b
commit
1659517825
|
@ -9,6 +9,9 @@ import (
|
||||||
"github.com/tus/tusd"
|
"github.com/tus/tusd"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Test interface implementation of Filestore
|
||||||
|
var _ tusd.DataStore = FileStore{}
|
||||||
|
|
||||||
func TestFilestore(t *testing.T) {
|
func TestFilestore(t *testing.T) {
|
||||||
tmp, err := ioutil.TempDir("", "tusd-filestore-")
|
tmp, err := ioutil.TempDir("", "tusd-filestore-")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue