mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
This commit is contained in:
commit
5702727db5
|
@ -10,7 +10,7 @@ import (
|
|||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
func TestProtoMarshalText(t *testing.T) {
|
||||
func TestProtoMarshal(t *testing.T) {
|
||||
|
||||
oldEntry := &Entry{
|
||||
FullPath: util.FullPath("/this/path/to"),
|
||||
|
@ -22,7 +22,7 @@ func TestProtoMarshalText(t *testing.T) {
|
|||
TtlSec: 25,
|
||||
},
|
||||
Chunks: []*filer_pb.FileChunk{
|
||||
&filer_pb.FileChunk{
|
||||
{
|
||||
FileId: "234,2423423422",
|
||||
Offset: 234234,
|
||||
Size: 234,
|
||||
|
@ -48,6 +48,6 @@ func TestProtoMarshalText(t *testing.T) {
|
|||
t.Fatalf("marshal/unmarshal error: %s", text)
|
||||
}
|
||||
|
||||
println(text)
|
||||
println(string(text))
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue