Is there a way to check if two Exprs are equal and, if not, show a minimal diff?
Similar question for JuliaSyntax's SyntaxNode
I mentioned elsewhere that https://github.com/simeonschaub/DiffUtils.jl may be useful
The closest I've found is https://github.com/JuliaLang/JuliaSyntax.jl/blob/f425045d56f75c71493aba77e1b751f69f552e48/test/test_utils.jl
there's also some diff printing logic in CSTParser's tests, but it's pretty dumb (might still serve as inspiration though)
cormullion has marked this topic as resolved.
cormullion has marked this topic as unresolved.
Last updated: Dec 28 2024 at 04:38 UTC