diff options
| author | chrislu <chris.lu@gmail.com> | 2022-08-18 02:39:27 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-08-18 02:39:27 -0700 |
| commit | 5702727db512d3ef5073125387aad84779ba914d (patch) | |
| tree | 3fc614a3be538cfa952079a96763525ea3658c04 | |
| parent | 4d72a1ce6e1cf7f6def12d933f9333bab9a6e9b5 (diff) | |
| parent | 3172c33fa6b46884c7ee3a5157ec331126f00353 (diff) | |
| download | seaweedfs-5702727db512d3ef5073125387aad84779ba914d.tar.xz seaweedfs-5702727db512d3ef5073125387aad84779ba914d.zip | |
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
| -rw-r--r-- | weed/filer/filer_notify_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/filer/filer_notify_test.go b/weed/filer/filer_notify_test.go index 4d08eb672..b85b4c410 100644 --- a/weed/filer/filer_notify_test.go +++ b/weed/filer/filer_notify_test.go @@ -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)) } |
