mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix test
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@45 282b0af5-e82d-9cf1-ede4-77906d7719d0
This commit is contained in:
parent
4c31b6d533
commit
8edf12f026
|
@ -1,9 +1,10 @@
|
||||||
package directory
|
package directory
|
||||||
|
|
||||||
import {
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"log"
|
"log"
|
||||||
}
|
)
|
||||||
|
|
||||||
func TestSerialDeserialization(t *testing.T) {
|
func TestSerialDeserialization(t *testing.T) {
|
||||||
f1 := &FileId{VolumeId: 345, Key:8698, Hashcode: 23849095}
|
f1 := &FileId{VolumeId: 345, Key:8698, Hashcode: 23849095}
|
||||||
log.Println("vid", f1.VolumeId, "key", f1.Key, "hash", f1.Hashcode)
|
log.Println("vid", f1.VolumeId, "key", f1.Key, "hash", f1.Hashcode)
|
||||||
|
@ -11,6 +12,4 @@ func TestSerialDeserialization(t *testing.T) {
|
||||||
f2 := ParseFileId(t.String())
|
f2 := ParseFileId(t.String())
|
||||||
|
|
||||||
log.Println("vvid", f2.VolumeId, "vkey", f2.Key, "vhash", f2.Hashcode)
|
log.Println("vvid", f2.VolumeId, "vkey", f2.Key, "vhash", f2.Hashcode)
|
||||||
|
|
||||||
t.
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue