Improve the section order errors to help diagnose problems.

Review Request #11760 — Created July 31, 2021 and submitted — Latest diff uploaded

Information

DiffX
master

Reviewers

Section order errors were useful in saying which function was called and
which functions were expected, but didn't say which function was
previously called in order to give context.

This change expands those errors. It now shows the previous method that
was called, based on the previous section state.

Unit tests passed.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Improve the section order errors to help diagnose problems.
Section order errors were useful in saying which function was called and which functions were expected, but didn't say which function was previously called in order to give context. This change expands those errors. It now shows the previous method that was called, based on the previous section state.
dab2ef0bd2cbdcf4d304aeda451e53b6554c909f Christian Hammond
python/pydiffx/writer.py
python/pydiffx/tests/test_writer.py
Loading...