Skip to content
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

Replace assertEquals by assertSame #14

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Replace assertEquals by assertSame #14

merged 3 commits into from
Aug 27, 2024

Conversation

lehecht
Copy link
Contributor

@lehecht lehecht commented Aug 20, 2024

Use assertSame for strong equality check,

References biigle/core#430.

@lehecht lehecht requested a review from mzur August 20, 2024 07:46
Copy link
Member

@mzur mzur left a comment

Choose a reason for hiding this comment

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

Please update all cases where numbers are returned as strings to return actual numbers.

@lehecht lehecht requested a review from mzur August 22, 2024 08:12
Copy link
Member

@mzur mzur left a comment

Choose a reason for hiding this comment

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

I see. So this was a little careless of me. The numbers are strings because they can get too large for an int right? Then they should of course remain strings... sorry.

If you see some comment like this from me again, feel free to argue against it if you think it is stupid 😉

@lehecht
Copy link
Contributor Author

lehecht commented Aug 23, 2024

I see. So this was a little careless of me. The numbers are strings because they can get too large for an int right? Then they should of course remain strings... sorry.

If you see some comment like this from me again, feel free to argue against it if you think it is stupid 😉

I thought you knew it and still wanted it to be changed which is why I did it. Next time I'll ask.

@mzur mzur merged commit 63dac4e into main Aug 27, 2024
1 check passed
@mzur mzur deleted the use-assertSame branch August 27, 2024 06:54
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.

2 participants