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

Unified Diff: pkg/analyzer/test/parse_compilation_unit_test.dart

Issue 1269393002: Fix ToStringVisitor to handle external functions (issue 23968) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/generated/ast_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/parse_compilation_unit_test.dart
diff --git a/pkg/analyzer/test/parse_compilation_unit_test.dart b/pkg/analyzer/test/parse_compilation_unit_test.dart
index 0e2d3de82d844dbdb2fb7317b0e26ce63fb36c3b..fca4bd277d484e290e8b9eb3359716afe22ad155 100644
--- a/pkg/analyzer/test/parse_compilation_unit_test.dart
+++ b/pkg/analyzer/test/parse_compilation_unit_test.dart
@@ -37,6 +37,6 @@ void main() {
test("allows you to specify whether or not to parse function bodies", () {
var unit = parseCompilationUnit("void main() => print('Hello, world!');",
parseFunctionBodies: false);
- expect(unit.toString(), equals("void main() ;"));
+ expect(unit.toString(), equals("void main();"));
});
}
« no previous file with comments | « pkg/analyzer/test/generated/ast_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698