Index: tests/standalone/package/scenarios/packages_file_strange_formatting/empty_lines_test.dart |
diff --git a/tests/standalone/package/scenarios/packages_option_only/packages_option_only_test.dart b/tests/standalone/package/scenarios/packages_file_strange_formatting/empty_lines_test.dart |
similarity index 50% |
copy from tests/standalone/package/scenarios/packages_option_only/packages_option_only_test.dart |
copy to tests/standalone/package/scenarios/packages_file_strange_formatting/empty_lines_test.dart |
index e873350c4012cb8209dd910fe3460c09a3f0cf1f..a5ec547341c9b80ed12dd1c13b176bb67dc6cda6 100644 |
--- a/tests/standalone/package/scenarios/packages_option_only/packages_option_only_test.dart |
+++ b/tests/standalone/package/scenarios/packages_file_strange_formatting/empty_lines_test.dart |
@@ -3,14 +3,22 @@ |
// BSD-style license that can be found in the LICENSE file. |
// PackageRoot=none |
-// Packages=sub/.packages |
+// Packages=empty_lines.packages |
-library packages_option_only_test; |
+library empty_lines_test; |
import 'package:foo/foo.dart' as foo; |
+import 'package:bar/bar.dart' as bar; |
+import 'package:baz/baz.dart' as baz; |
main() { |
- if (foo.bar != 'hello') { |
+ if (foo.foo != 'foo') { |
throw new Exception('package "foo" was not resolved correctly'); |
} |
+ if (bar.bar != 'bar') { |
+ throw new Exception('package "bar" was not resolved correctly'); |
+ } |
+ if (baz.baz != 'baz') { |
+ throw new Exception('package "baz" was not resolved correctly'); |
+ } |
} |