fix all tests

This commit is contained in:
Chris Lu
2018-07-08 02:39:04 -07:00
parent d4d7ced922
commit 5b1fd374be
7 changed files with 25 additions and 14 deletions

View File

@@ -1,12 +1,15 @@
package storage
import "testing"
import (
"testing"
"github.com/chrislusf/seaweedfs/weed/storage/types"
)
func TestParseKeyHash(t *testing.T) {
testcases := []struct {
KeyHash string
ID uint64
Cookie uint32
ID types.NeedleId
Cookie types.Cookie
Err bool
}{
// normal