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

Unified Diff: tools/testing/dart/vendored_pkg/args/src/usage.dart

Issue 2903703002: Tighten types in test.dart even more. (Closed)
Patch Set: Play nicer with strong mode. Created 3 years, 7 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 | « tools/testing/dart/vendored_pkg/args/src/parser.dart ('k') | tools/testing/dart/vm_test_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/vendored_pkg/args/src/usage.dart
diff --git a/tools/testing/dart/vendored_pkg/args/src/usage.dart b/tools/testing/dart/vendored_pkg/args/src/usage.dart
index 6fb28e11f13ae4abadf97c16bf01d7eb0fa54850..a64deba54d079f7074508b4cfa4f84ceedc3dcd5 100644
--- a/tools/testing/dart/vendored_pkg/args/src/usage.dart
+++ b/tools/testing/dart/vendored_pkg/args/src/usage.dart
@@ -144,13 +144,13 @@ class Usage {
columnWidths = [abbr, title];
}
- newline() {
+ void newline() {
newlinesNeeded++;
currentColumn = 0;
numHelpLines = 0;
}
- write(int column, String text) {
+ void write(int column, String text) {
var lines = text.split('\n');
// Strip leading and trailing empty lines.
@@ -167,7 +167,7 @@ class Usage {
}
}
- writeLine(int column, String text) {
+ void writeLine(int column, String text) {
// Write any pending newlines.
while (newlinesNeeded > 0) {
buffer.writeln('');
@@ -208,7 +208,7 @@ class Usage {
}
}
- buildAllowedList(Option option) {
+ String buildAllowedList(Option option) {
var allowedBuffer = new StringBuffer();
allowedBuffer.write('[');
bool first = true;
« no previous file with comments | « tools/testing/dart/vendored_pkg/args/src/parser.dart ('k') | tools/testing/dart/vm_test_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698