Skip to content

Add marshal tests for varchar, text, blob, ascii, uuid, timeuuid cql types #285

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

Merged
merged 5 commits into from
Oct 4, 2024

Conversation

illia-li
Copy link

@illia-li illia-li commented Oct 2, 2024

No description provided.

@illia-li illia-li changed the title add marshal tests for varchar, text, blob, ascii cql types Add marshal tests for varchar, text, blob, ascii cql types Oct 2, 2024
@illia-li illia-li changed the title Add marshal tests for varchar, text, blob, ascii cql types Add marshal tests for varchar, text, blob, ascii, uuid, timeuuid cql types Oct 2, 2024
dkropachev
dkropachev previously approved these changes Oct 3, 2024
@@ -105,7 +105,7 @@ func (s PositiveSet) runUnmarshalTest(name string, t *testing.T, f func([]byte,
err = errors.Join(unmarshalErr, err)
}
} else if !equalVals(expected, deReference(result)) {
err = unequalError{Expected: stringValue(expected), Got: stringValue(result)}
err = unequalError{Expected: stringValue(expected), Got: stringValue(deReference(result))}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you dereference got value ?

sylwiaszunejko
sylwiaszunejko previously approved these changes Oct 3, 2024
@dkropachev
Copy link
Collaborator

@illia-li , please rebase

@illia-li illia-li dismissed stale reviews from sylwiaszunejko and dkropachev via c34aacf October 3, 2024 18:55
@illia-li illia-li force-pushed the il/add/marshal_tests_texts branch from 3c44ae9 to c34aacf Compare October 3, 2024 18:55
@illia-li
Copy link
Author

illia-li commented Oct 3, 2024

@illia-li , please rebase

Done

@dkropachev dkropachev merged commit 6d4140d into scylladb:master Oct 4, 2024
1 check passed
@illia-li illia-li deleted the il/add/marshal_tests_texts branch October 4, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants