Skip to content

Deep equal with symbols as keys does not fail #1054

Closed
@fflorent

Description

Hi,

The following test should fail but doesn't:

let test = Symbol('test')
expect({[test]: 1}).to.deep.equal({[test]: 2})

Thanks!
Florent

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions