f717a0ef7e
This removes `useLineEndingsForPlatform=false` from the Snippets tests and updates them to use a shared method that correctly handles normalization of the `expected` result. It turned out that we had bugs here, with the correct line endings not being used, so it also fixes that by passing `eol` to the `ChangeBuilder`s created by the snippet producers. Progress towards https://github.com/dart-lang/sdk/issues/60234 Change-Id: I851fee987dda52f329d110878e10593cbced8c6c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433780 Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>