compareGetString skip CreatedAt UpdatedAt ID compare
(t *testing.T, want, get *String)
| 9 | |
| 10 | // compareGetString skip CreatedAt UpdatedAt ID compare |
| 11 | func compareGetString(t *testing.T, want, get *String) { |
| 12 | assert.Equal(t, want.key, get.key) |
| 13 | assert.Equal(t, want.Meta.ExpireAt, get.Meta.ExpireAt) |
| 14 | assert.Equal(t, want.Meta.Type, get.Meta.Type) |
| 15 | assert.Equal(t, want.Meta.Encoding, get.Meta.Encoding) |
| 16 | assert.Equal(t, want.Meta.Value, get.Meta.Value) |
| 17 | } |
| 18 | |
| 19 | func setValue(t *testing.T, TestKey []byte, value []byte) { |
| 20 | callFunc := func(txn *Transaction) { |