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

Side by Side Diff: tests/compiler/dart2js/backend_dart/end2end_test.dart

Issue 1168393003: Enforce LF line endings in the git database. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebase Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// End-to-end test of the dart2dart compiler. 5 /// End-to-end test of the dart2dart compiler.
6 library dart_backend.end2end_test; 6 library dart_backend.end2end_test;
7 7
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'package:compiler/src/dart2jslib.dart'; 9 import 'package:compiler/src/dart2jslib.dart';
10 import 'package:compiler/src/dart_backend/dart_backend.dart'; 10 import 'package:compiler/src/dart_backend/dart_backend.dart';
(...skipping 17 matching lines...) Expand all
28 compiler.phase = Compiler.PHASE_COMPILING; 28 compiler.phase = Compiler.PHASE_COMPILING;
29 DartBackend backend = compiler.backend; 29 DartBackend backend = compiler.backend;
30 backend.assembleProgram(); 30 backend.assembleProgram();
31 String output = outputCollector.getOutput('', 'dart').trim(); 31 String output = outputCollector.getOutput('', 'dart').trim();
32 Expect.equals(expectedOutput, output, 32 Expect.equals(expectedOutput, output,
33 '\nInput:\n${result.input}\n' 33 '\nInput:\n${result.input}\n'
34 'Expected:\n$expectedOutput\n' 34 'Expected:\n$expectedOutput\n'
35 'Actual:\n$output\n'); 35 'Actual:\n$output\n');
36 })); 36 }));
37 } 37 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/async_await_syntax_test.dart ('k') | tests/compiler/dart2js/backend_dart/sexpr2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698