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

__roca_deepEquals compare objects with different types as equal #63

Closed
vbuchii opened this issue Jan 6, 2021 · 0 comments
Closed

__roca_deepEquals compare objects with different types as equal #63

vbuchii opened this issue Jan 6, 2021 · 0 comments

Comments

@vbuchii
Copy link

vbuchii commented Jan 6, 2021

Example:

    m.fit("validate associative arrays", sub()
        expected = { key: "Some value"}
        actual = {}
              
        m.assert.deepEquals(expected["key"], actual["key"], "'Some value' should not be equal invalid")
   end sub)

Result:

✓ validate associative arrays

Expected:

                error:
                    message: 'Some value' should not be equal invalid
                stack:
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

1 participant