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

Unified Diff: pkg/analyzer_experimental/test/generated/test_support.dart

Issue 14205011: Issue 9845. Compare runtime types using ==. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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/analyzer_experimental/test/generated/test_support.dart
diff --git a/pkg/analyzer_experimental/test/generated/test_support.dart b/pkg/analyzer_experimental/test/generated/test_support.dart
index 46b0dd89866dbe8004ec0277b96123da67b83a42..a1b6a6c4ba80b4ecb07233c5fa83acaafafdffe9 100644
--- a/pkg/analyzer_experimental/test/generated/test_support.dart
+++ b/pkg/analyzer_experimental/test/generated/test_support.dart
@@ -289,7 +289,7 @@ class GatheringErrorListener implements AnalysisErrorListener {
for (AnalysisError error in expectedErrors) {
Source source16 = error.source;
LineInfo lineInfo = _lineInfoMap[source16];
- writer.println();
+ writer.newLine();
if (lineInfo == null) {
int offset10 = error.offset;
writer.printf(" %s %s (%d..%d)", [source16 == null ? "" : source16.shortName, error.errorCode, offset10, offset10 + error.length]);
@@ -298,14 +298,14 @@ class GatheringErrorListener implements AnalysisErrorListener {
writer.printf(" %s %s (%d, %d/%d)", [source16 == null ? "" : source16.shortName, error.errorCode, location.lineNumber, location.columnNumber, error.length]);
}
}
- writer.println();
+ writer.newLine();
writer.print("found ");
writer.print(_errors.length);
writer.print(" errors:");
for (AnalysisError error in _errors) {
Source source17 = error.source;
LineInfo lineInfo = _lineInfoMap[source17];
- writer.println();
+ writer.newLine();
if (lineInfo == null) {
int offset11 = error.offset;
writer.printf(" %s %s (%d..%d): %s", [source17 == null ? "" : source17.shortName, error.errorCode, offset11, offset11 + error.length, error.message]);
@@ -569,7 +569,7 @@ class EngineTestCase extends JUnitTestCase {
static String createSource(List<String> lines) {
PrintStringWriter writer = new PrintStringWriter();
for (String line in lines) {
- writer.printlnObject(line);
+ writer.println(line);
}
return writer.toString();
}

Powered by Google App Engine
This is Rietveld 408576698