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

Let assertEquals change into assertSame #25

Merged

Conversation

peter279k
Copy link

Changed log

  • As title, using the assertSame to replace assertEquals and make these assertions strict.

@@ -53,122 +53,122 @@ public function testInputException()

public function testCmpGreaterThan()
{
$expectedValue = '1';
$expectedValue = 1;
Copy link
Author

Choose a reason for hiding this comment

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

The bccomp function will return the integer type to present compared result.

@bobbrodie bobbrodie merged commit 2c9dc57 into bitpay:master Jan 18, 2024
@peter279k peter279k deleted the improve_assertequals branch January 19, 2024 01:38
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