mirror of
https://github.com/alist-org/gofakes3.git
synced 2025-12-24 12:58:04 +08:00
change pointer to value in test case
This commit is contained in:
@@ -130,7 +130,7 @@ func TestListBucketObjectSize(t *testing.T) {
|
||||
ts.OK(err)
|
||||
|
||||
if *output.Contents[0].Size != int64(5) {
|
||||
ts.Fatalf("Size wanted 5 got :%v\n", output.Contents[0].Size)
|
||||
ts.Fatalf("Size wanted 5 got :%v\n", *output.Contents[0].Size)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user