-
Notifications
You must be signed in to change notification settings - Fork 6
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
chore: add dictionary testing #194
Conversation
Field: String(""), | ||
Value: String("myValue"), | ||
}), | ||
).Error().To(HaveMomentoErrorCode(InvalidArgumentError)) |
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.
maybe add case for nil also? I had made this ticket for nil Field
or Value
also so can wait till we do that if easier come back in one pass.
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.
Good call, I'll add that in a followup.
Items: map[string]Value{"myField": String("myValue"), "": String("myOtherValue")}, | ||
}), | ||
).Error().To(HaveMomentoErrorCode(InvalidArgumentError)) | ||
}) |
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 here for nil check. Maybe just add TODO comment in test for now?
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, will follow up on this in my list testing PR.
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.
Awesome job on these @pgautier404 !! Loving the new test lib were using looks great.
* chore: adding dictionary tests * continuing testing * adjust for refactor and finish adding tests * TTL testing and test cleanup
No description provided.