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

Unified Diff: test/codegen/lib/mirrors/method_mirror_source_line_ending_lf.dart

Issue 2265533002: Add mirrors tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 4 months 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: test/codegen/lib/mirrors/method_mirror_source_line_ending_lf.dart
diff --git a/test/codegen/language/regress_18865_test.dart b/test/codegen/lib/mirrors/method_mirror_source_line_ending_lf.dart
old mode 100644
new mode 100755
similarity index 60%
copy from test/codegen/language/regress_18865_test.dart
copy to test/codegen/lib/mirrors/method_mirror_source_line_ending_lf.dart
index ba64c4c9f51fff6ae2bc2e4f1605a8c0808ef472..b805a757a5d87c50b8db05f0c718fa7f96561cc1
--- a/test/codegen/language/regress_18865_test.dart
+++ b/test/codegen/lib/mirrors/method_mirror_source_line_ending_lf.dart
@@ -2,14 +2,14 @@
// 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.
-// Regression test for issue 18865.
+// Note: This test relies on LF line endings in the source file.
-class B<T> { }
+library line_endings.lf;
-class A<T> extends B {
- static foo() => new A();
+oneLineLF(x) => x;
+multiLineLF(y) {
+ return y + 1;
}
-
-main () {
- A.foo();
+a
+(){
}

Powered by Google App Engine
This is Rietveld 408576698