Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] Add diff to doctest #7585
This adds diff output to doctests, as discussed on elixir-core.
I haven't figured out a good way to add more tests for these changes. I have tested the changes manually, and they produce good output on complex data structures like Maps. Output is diffed just like normal in ExUnit tests. Are the existing (updated) tests sufficient, do you think?
I thought of adding a test to
I also thought to add a case to the doctests suite, but this would only test that left and right values are included, and the other tests already do that. I don't think we can test the actual highlighting here.