604bf2fe3b
+ convert LSP folding tests to use TestCode parser. A change in VS Code means two folding regions are no longer allowed to end/start on the same line (the second range is silently dropped). This truncates folding regions if they end on the same line that another starts to end on the line before (but only if a client only supports line-folding mode). Fixes https://github.com/Dart-Code/Dart-Code/issues/4121. Change-Id: Ic26f58f84c44a01ae5157c336ed0f207d1c0eeb8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261900 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>