Currently nf-test converts the whole snapshot to a JSON string and compares that with the new snapshot, however this causes some issues when the order of the keys in a map is different. It doesn't really make sense to fail the test due to this.
I've noticed this issue here: b186149
The snapshot was the same here but due to updates in Groovy, the order of the map changed. This caused a false positive failure.
Currently nf-test converts the whole snapshot to a JSON string and compares that with the new snapshot, however this causes some issues when the order of the keys in a map is different. It doesn't really make sense to fail the test due to this.
I've noticed this issue here: b186149
The snapshot was the same here but due to updates in Groovy, the order of the map changed. This caused a false positive failure.