Closed janhohenheim closed 1 year ago
oh nice catch. I suppose the best fix is to sort the expected results so that tagged results are processed first, just because we can't know the results of the line tagger ahead of time so the best we can do is check the known results first and then run through the ones the auto-tagger has processed.
Specifically this line: https://github.com/YarnSpinnerTool/YarnSpinner/blob/main/YarnSpinner.Tests/ProjectTests.cs#L263 This is only well-defined if
matchingEntries
has a length of exactly 1, but by manually checking I was able to verify that its length goes up to 4.