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

It always has different hashcode even though everything is same #5

Closed
memishood opened this issue Nov 6, 2022 · 2 comments
Closed

Comments

@memishood
Copy link

    test('should be same', () {
      final x = Left('test');
      final z = Left('test');
      expect(x, z);
    });

Result:
Expected: <Instance of 'Left<String, dynamic>'>
Actual: <Instance of 'Left<String, dynamic>'>

@avdosev
Copy link
Owner

avdosev commented Nov 6, 2022

@memishood
You're right. This is really a problem. I published release 0.3.0 with a fix

avdosev added a commit that referenced this issue Nov 6, 2022
@memishood
Copy link
Author

It's working nicely anymore, thanks!

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

No branches or pull requests

2 participants