Make difference prints of tables readable
This makes it so that when the values compared by same()
or is()
are tables, they're not printed only as addresses, but as JSON-like tree structures, e.g.:
Assertion same() failed for test below (marked 'not ok'):
Expected: {
['a167-81.test.'] = {
['A'] = {
'127.0.30.222',
},
},
}
Got: {
['a167-81.test.'] = {
['A'] = {
'127.0.30.221',
},
},
}
not ok 24 - ANSWER section matches
Edited by Oto Šťáva