5803acf31f
This removes a use of `Platform.script` so the tests work through the test runner. It also extracts some common code between this and the other integration tests to remove some duplication. Change-Id: Ia9d441424789ea99decb071f7fdc6c71c8e54a72 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419860 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>