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

Unified Diff: benchmark/benchmark.dart

Issue 822273004: Add API to provide a selection range, and return the updated selection after formatting. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Remove redundant argument check. Created 5 years, 11 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 | « no previous file | lib/src/chunk.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmark/benchmark.dart
diff --git a/benchmark/benchmark.dart b/benchmark/benchmark.dart
index a468261ea976e3115776a619524809ce30f8b54b..3ab9d48272657fc864f93198592548a0c5b3364f 100644
--- a/benchmark/benchmark.dart
+++ b/benchmark/benchmark.dart
@@ -60,7 +60,7 @@ void formatSource() {
// Sanity check to make sure the output is what we expect and to make sure
// the VM doesn't optimize "dead" code away.
- if (result.length != 29796) {
+ if (result.length != 29791) {
print("Incorrect output (length ${result.length}):\n$result");
exit(1);
}
« no previous file with comments | « no previous file | lib/src/chunk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698