Skip to content

Commit

Permalink
Add dart format to golden generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Jul 5, 2024
1 parent f2099b3 commit 12baacc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hive/test/tests/frames.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void expectFrames(Iterable<Frame> f1, Iterable<Frame> f2) {
}
}

void buildGoldens() async {
Future<void> buildGoldens() async {
Future<void> generate(
String fileName,
String varName,
Expand Down Expand Up @@ -218,6 +218,7 @@ void buildGoldens() async {
});
}

void main() {
buildGoldens();
void main() async {
await buildGoldens();
Process.runSync('dart', ['format', '.']);
}

0 comments on commit 12baacc

Please sign in to comment.