Skip to content

Deepcompare keys#194

Open
RiskoZS wants to merge 1 commit intolunarmodules:masterfrom
RiskoZS:key-deepcompare
Open

Deepcompare keys#194
RiskoZS wants to merge 1 commit intolunarmodules:masterfrom
RiskoZS:key-deepcompare

Conversation

@RiskoZS
Copy link
Copy Markdown
Contributor

@RiskoZS RiskoZS commented Jun 25, 2023

See #193 (comment) for context.

This PR makes util.deepcompare attempt to compare keys that are tables instead of just giving up right away, so that

assert.are.same({ [{}] = 1 }, { [{}] = 1 })

passes.

@Tieske
Copy link
Copy Markdown
Member

Tieske commented Jun 28, 2023

discussion in #193 , hence locking discussion here

@lunarmodules lunarmodules locked and limited conversation to collaborators Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants