Skip to content

Commit 88e4cd3

Browse files
Update slot_test.go
modify the TestMigratingSlot_MarshalJSON expected value
1 parent 7a0401b commit 88e4cd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎store/slot_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func TestMigratingSlot_MarshalJSON(t *testing.T) {
122122
migratingSlot = MigratingSlot{SlotRange: SlotRange{Start: 5, Stop: 10}, IsMigrating: false}
123123
migratingSlotBytes, err = json.Marshal(&migratingSlot)
124124
require.NoError(t, err)
125-
assert.Equal(t, `-1`, string(migratingSlotBytes))
125+
assert.Equal(t, `null`, string(migratingSlotBytes))
126126
}
127127

128128
func TestMigrateSlotRange_MarshalAndUnmarshalJSON(t *testing.T) {

0 commit comments

Comments
 (0)