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

Unified Diff: pkg/analyzer/test/services/formatter_test.dart

Issue 254133006: Test fixes to catch up with Parser changes (dartbug.com/18315). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « pkg/analyzer/test/services/data/cu_tests.data ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/services/formatter_test.dart
===================================================================
--- pkg/analyzer/test/services/formatter_test.dart (revision 35546)
+++ pkg/analyzer/test/services/formatter_test.dart (working copy)
@@ -29,12 +29,11 @@
});
/// Data-driven compilation unit tests
- /// TODO(scheglov) https://code.google.com/p/dart/issues/detail?id=18315
-// group('cu_tests.data', () {
-// runTests('cu_tests.data', (input, expectedOutput) {
-// expectCUFormatsTo(input, expectedOutput);
-// });
-// });
+ group('cu_tests.data', () {
+ runTests('cu_tests.data', (input, expectedOutput) {
+ expectCUFormatsTo(input, expectedOutput);
+ });
+ });
/// Data-driven Style Guide acceptance tests
group('style_guide_tests.data', () {
@@ -1479,7 +1478,6 @@
var testIndex = 1;
var testFile = new File(join(TEST_DATA_DIR, testFileName));
var lines = testFile.readAsLinesSync();
-
for (var i = 1; i < lines.length; ++i) {
var input = '', expectedOutput = '';
while(!lines[i].startsWith('<<<')) {
« no previous file with comments | « pkg/analyzer/test/services/data/cu_tests.data ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698