-
Notifications
You must be signed in to change notification settings - Fork 0
feature: pass ModRevision field from kv.KeyValue structure to integrity.ValidatedResult #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
9cf31b8 to
9488c97
Compare
integrity/typed_test.go
Outdated
| namedValue, err := typed.Get(ctx, "my-object") | ||
| require.NoError(t, err) | ||
| assert.Equal(t, "my-object", namedValue.Name) | ||
| assert.Equal(t, int64(0), namedValue.ModRevision) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same pls, add ModRevision checks with predefined in expectedKVs here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still checking modRevision for zero value, you need to check it for predefined in expectedKVs value.
9488c97 to
adf3108
Compare
Added ModRevision field to integrity.ValidatedResult. Tests have been supplemented with ModRevision checks. Closes #23
adf3108 to
f621c6a
Compare
feature: pass ModRevision field from kv.KeyValue structure to integrity.ValidatedResult
Added ModRevision field to integrity.ValidatedResult. Tests have been supplemented with ModRevision checks.
Closes #23