Browse Source

fix test

git-svn-id: https://weed-fs.googlecode.com/svn/trunk@45 282b0af5-e82d-9cf1-ede4-77906d7719d0
pull/2/head
chris.lu@gmail.com 13 years ago
parent
commit
8edf12f026
  1. 7
      weed-fs/src/pkg/directory/file_id_test.go

7
weed-fs/src/pkg/directory/file_id_test.go

@ -1,9 +1,10 @@
package directory
import {
import (
"testing"
"log"
}
)
func TestSerialDeserialization(t *testing.T) {
f1 := &FileId{VolumeId: 345, Key:8698, Hashcode: 23849095}
log.Println("vid", f1.VolumeId, "key", f1.Key, "hash", f1.Hashcode)
@ -11,6 +12,4 @@ func TestSerialDeserialization(t *testing.T) {
f2 := ParseFileId(t.String())
log.Println("vvid", f2.VolumeId, "vkey", f2.Key, "vhash", f2.Hashcode)
t.
}
Loading…
Cancel
Save