-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
CustomDumpRepresentable
max depth (#88)
* Fix `CustomDumpRepresentable` max depth When we reach a custom dump representable value, we should not decrement the max depth when printing it. At times this can cause the max depth to roll from 0 to -1, which currently causes the logic that collapses nodes to leave them expanded. We should update that logic, as well, so I'll do that in another commit. * Treat negative depth as zero * Add/fix some unrelated tests
- Loading branch information
1 parent
af2eb5e
commit 53169c4
Showing
2 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters