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

Unified Diff: pkg/front_end/test/fasta/rasta/switch_execution_case_t02.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/switch_execution_case_t02.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/rasta/switch_execution_case_t02.dart.direct.expect b/pkg/front_end/test/fasta/rasta/switch_execution_case_t02.dart.direct.expect
deleted file mode 100644
index 8dc5d5aad5e6a0f4f17b7b2a7375ee76beaf17c3..0000000000000000000000000000000000000000
--- a/pkg/front_end/test/fasta/rasta/switch_execution_case_t02.dart.direct.expect
+++ /dev/null
@@ -1,61 +0,0 @@
-library;
-import self as self;
-import "dart:core" as core;
-
-static method test(dynamic value) → dynamic {
- dynamic result;
- #L1:
- switch(value) {
- #L2:
- case 1:
- {
- result = 1;
- break #L1;
- }
- #L3:
- case 2:
- {
- result = 2;
- throw core::_fallThroughError();
- }
- #L4:
- case 3:
- {
- result = 3;
- throw core::_fallThroughError();
- }
- #L5:
- default:
- {
- result = 4;
- }
- }
- return result;
-}
-static method testEmptyCases(dynamic value) → dynamic {
- dynamic result;
- #L6:
- switch(value) {
- #L7:
- case 1:
- case 2:
- {
- result = 1;
- throw core::_fallThroughError();
- }
- #L8:
- case 3:
- case 4:
- {
- result = 2;
- break #L6;
- }
- #L9:
- case 5:
- case 6:
- default:
- {}
- }
- return result;
-}
-static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698