Skip to content

Commit

Permalink
Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmorgan committed Sep 10, 2024
1 parent 9297a04 commit 9c4e9ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkgs/_analyzer_macros/test/golden_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void main() {

expect(introspectionMacroOutput, introspectionGolden,
reason: updateGoldens
? null
? '\n--> Goldens updated! Should pass on rerun.'
: '\n--> To update goldens, run: '
'UPDATE_GOLDENS=yes dart test');
}
Expand All @@ -124,7 +124,7 @@ void main() {
applicationMacroOutput = augmentationUnit.content;
expect(applicationMacroOutput, applicationGolden,
reason: updateGoldens
? null
? '\n--> Goldens updated! Should pass on rerun.'
: '\n--> To update goldens, run: '
'UPDATE_GOLDENS=yes dart test');
}
Expand Down
4 changes: 2 additions & 2 deletions pkgs/_cfe_macros/test/golden_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ void main() {

expect(introspectionMacroOutput, introspectionGolden,
reason: updateGoldens
? null
? '\n--> Goldens updated! Should pass on rerun.'
: '\n--> To update goldens, run: '
'UPDATE_GOLDENS=yes dart test');
}

if (applicationGolden != null) {
expect(applicationMacroOutput, applicationGolden,
reason: updateGoldens
? null
? '\n--> Goldens updated! Should pass on rerun.'
: '\n--> To update goldens, run: '
'UPDATE_GOLDENS=yes dart test');
}
Expand Down

0 comments on commit 9c4e9ac

Please sign in to comment.