My question to you is: Does any of these changes matter? The more I think about it, the more I think "no". Especially because assert.match can be used in its place to get the above behavior (except for the regular expression case).
Christian
{ name: "Chris", id: 42 } and { id: 42, name: "Chris" }I've always found it a bit confusing that assert.equals actually works the way it does currently and for me this would be a logical change.
But would this mean that assert.equals would behave as assert.same?
The reason why I ask this, is because I think the current behaviour of assert.equals is useful for comparing objects such as the ones on the assert.same documentation example of something that assert.equals should be used for:and{ name: "Chris", id: 42 }
{ id: 42, name: "Chris"}
Would assert.equals still be able to do this?