Fix tests

This commit is contained in:
Łukasz Magiera 2020-06-03 12:50:56 +02:00
parent 222f3d876c
commit 1467fe4226

View File

@ -27,7 +27,6 @@ func TestSectorInfoSelialization(t *testing.T) {
si := &SectorInfo{ si := &SectorInfo{
State: "stateful", State: "stateful",
SectorNumber: 234, SectorNumber: 234,
Nonce: 345,
Pieces: []Piece{{ Pieces: []Piece{{
Piece: abi.PieceInfo{ Piece: abi.PieceInfo{
Size: 5, Size: 5,
@ -59,7 +58,6 @@ func TestSectorInfoSelialization(t *testing.T) {
} }
assert.Equal(t, si.State, si2.State) assert.Equal(t, si.State, si2.State)
assert.Equal(t, si.Nonce, si2.Nonce)
assert.Equal(t, si.SectorNumber, si2.SectorNumber) assert.Equal(t, si.SectorNumber, si2.SectorNumber)
assert.Equal(t, si.Pieces, si2.Pieces) assert.Equal(t, si.Pieces, si2.Pieces)