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

Unified Diff: pkg/front_end/test/fasta/rasta/issue_000004.dart.direct.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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: pkg/front_end/test/fasta/rasta/issue_000004.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/rasta/issue_000004.dart.direct.expect b/pkg/front_end/test/fasta/rasta/issue_000004.dart.direct.expect
deleted file mode 100644
index 4c7bdc02570484d64e6a0bf13a84134fc48c16cf..0000000000000000000000000000000000000000
--- a/pkg/front_end/test/fasta/rasta/issue_000004.dart.direct.expect
+++ /dev/null
@@ -1,34 +0,0 @@
-library;
-import self as self;
-import "package:expect/expect.dart" as exp;
-
-static field dynamic global;
-static method fact4() → dynamic {
- dynamic f = 1;
- for (dynamic n in <dynamic>[1, 2, 3, 4]) {
- f = f.*(n);
- }
- return f;
-}
-static method fact5() → dynamic {
- dynamic f = 1;
- dynamic n;
- for (final dynamic #t1 in <dynamic>[1, 2, 3, 4, 5]) {
- n = #t1;
- f = f.*(n);
- }
- return f;
-}
-static method fact6() → dynamic {
- dynamic f = 1;
- for (final dynamic #t2 in <dynamic>[1, 2, 3, 4, 5, 6]) {
- self::global = #t2;
- f = f.*(self::global);
- }
- return f;
-}
-static method main() → dynamic {
- exp::Expect::isTrue(self::fact4().==(24));
- exp::Expect::isTrue(self::fact5().==(120));
- exp::Expect::isTrue(self::fact6().==(720));
-}

Powered by Google App Engine
This is Rietveld 408576698