Revert "Fixed analyzer test to use dart2js not dartium"

This reverts commit 704de3bb3e.
This is needed because we reverted the commit that this was a follow-up to:
4a58918382

It was reverted in a8cab7a205

TBR=terry@google.com
BUG=

Review-Url: https://codereview.chromium.org/3004183002 .
This commit is contained in:
William Hesse 2017-09-01 01:41:21 +02:00
parent a8cab7a205
commit e61f6e72ee

View file

@ -223,8 +223,8 @@ class DirectoryBasedDartSdkTest {
void test_fromFile_library_firstExact() {
DirectoryBasedDartSdk sdk = _createDartSdk();
JavaFile dirHtml = new JavaFile.relative(sdk.libraryDirectory, "html");
JavaFile dirDart2js = new JavaFile.relative(dirHtml, "dart2js");
JavaFile file = new JavaFile.relative(dirDart2js, "html_dart2js.dart");
JavaFile dirDartium = new JavaFile.relative(dirHtml, "dartium");
JavaFile file = new JavaFile.relative(dirDartium, "html_dartium.dart");
expect(file.isFile(), isTrue);
Source source = sdk.fromFileUri(file.toURI());
expect(source, isNotNull);