5eef8e4ebe
This function was defined once in analyzer testing code, once in linter testing code, and once in analysis_server testing code. In this change, all three are combined into one function in analyzer_utilities. Change-Id: Ib2daa7b3d14aae6ca2aa09f6f9bdeaf76bc72d10 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423068 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>