Closed mpeterv closed 5 years ago
you can use a parameter to configure the table depth; https://github.com/Olivine-Labs/luassert#configuring-table-depth-display
but that works for the entire table, not only the marked entries
Yes, using that parameter isn't very helpful for large. nested tables (think comparing AST nodes).
please re-open if this is still relevant
When comparing two deep tables and there are minor differences, luassert helpfully marks keys on the path to different value with asterisks, but unhelpfully applies depth limit anyway, replacing subtables with
{ ... more }
. It would be nice if depth limit wasn't applied to values marked with crumbs.