Skip to content

Commit

Permalink
Fix linter issues on dev in update_tests.dart. (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
athomas committed Jun 13, 2023
1 parent c79bf6e commit 150917f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tool/update_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void main(List<String> arguments) async {
}
}

print('${unchanged} tests were unchanged.');
print('$unchanged tests were unchanged.');
}

final _unsupportedPaths = [
Expand Down Expand Up @@ -72,8 +72,9 @@ Future<int> _updateTestFile(TestFile testFile) async {
var pageWidth = testFile.pageWidth;
if (pageWidth != null) {
var columns = '$pageWidth columns';
columns += ' ' * (pageWidth - columns.length) + '|';
buffer.writeln(columns);
buffer.write(columns);
buffer.write(' ' * (pageWidth - columns.length));
buffer.writeln('|');
}

// TODO(rnystrom): This is duplicating logic in fix_test.dart. Ideally, we'd
Expand Down

0 comments on commit 150917f

Please sign in to comment.