Fixed failed test cases for github action
This commit is contained in:
parent
cad8ae2e60
commit
df52801c66
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,12 @@ import 'package:io/ansi.dart';
|
|||
|
||||
void printSeparator(String title) {
|
||||
var b = StringBuffer('===' + title.toUpperCase());
|
||||
for (var i = b.length; i < stdout.terminalColumns - 3; i++) {
|
||||
|
||||
int columns = 80;
|
||||
if (stdout.hasTerminal) {
|
||||
columns = stdout.terminalColumns - 3;
|
||||
}
|
||||
for (var i = b.length; i < columns; i++) {
|
||||
b.write('=');
|
||||
}
|
||||
for (var i = 0; i < 3; i++) {
|
||||
|
|
Loading…
Reference in a new issue