Unibeautify/sparser

Many problems with sort

Closed this issue · 0 comments

There are many regression issues associated with tagSort and objectSort. Many of these concerns stem from changes to the logic following massive refactoring and a revision of the architecture.
The change in handling of markup attribute is also a huge factor in the cause of these problems.
Here is a brief list:

  • Verify tagSort and objectSort retain markup attributes immediately following their respective elements
  • Verify the begin/stack data remains valid following a sort operation
  • Verify the sort operations run when they are supposed to as frequently as they are supposed to
  • Verify they aren't changing or corrupting other data. I noticed in one example the lexer field for a given record was converted from script to markup