We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c79bf6e commit 150917fCopy full SHA for 150917f
tool/update_tests.dart
@@ -35,7 +35,7 @@ void main(List<String> arguments) async {
35
}
36
37
38
- print('${unchanged} tests were unchanged.');
+ print('$unchanged tests were unchanged.');
39
40
41
final _unsupportedPaths = [
@@ -72,8 +72,9 @@ Future<int> _updateTestFile(TestFile testFile) async {
72
var pageWidth = testFile.pageWidth;
73
if (pageWidth != null) {
74
var columns = '$pageWidth columns';
75
- columns += ' ' * (pageWidth - columns.length) + '|';
76
- buffer.writeln(columns);
+ buffer.write(columns);
+ buffer.write(' ' * (pageWidth - columns.length));
77
+ buffer.writeln('|');
78
79
80
// TODO(rnystrom): This is duplicating logic in fix_test.dart. Ideally, we'd
0 commit comments