Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: pkg/analyzer_cli/test/data/packages_file/sdk_ext_user.dart

Issue 1459683003: `analyzer_cli` move to SDK. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: master merge Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_cli/test/data/packages_file/sdk_ext_user.dart
diff --git a/tests/language/indirect_const_null_test.dart b/pkg/analyzer_cli/test/data/packages_file/sdk_ext_user.dart
similarity index 69%
copy from tests/language/indirect_const_null_test.dart
copy to pkg/analyzer_cli/test/data/packages_file/sdk_ext_user.dart
index 51616143018a75078a0121f12937ddc0263ffc4a..b346f7f1ed19a53ff94321f5a12737f3decde69f 100644
--- a/tests/language/indirect_const_null_test.dart
+++ b/pkg/analyzer_cli/test/data/packages_file/sdk_ext_user.dart
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import "package:expect/expect.dart";
+import 'dart:foo';
main() {
- const NULL = 1 == 1 ? null : false;
- Expect.isNull(NULL);
+ // import of 'dart:foo' should resolve to a file which defines bar().
+ bar();
}
« no previous file with comments | « pkg/analyzer_cli/test/data/package_with_sdk_extension/lib/foo.dart ('k') | pkg/analyzer_cli/test/data/plugin_options.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698