Skip to content

Commit

Permalink
Fix Dart 3 CI trying to run unsound test file
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed Oct 16, 2024
1 parent f6719b2 commit 9d1cdd2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tool/delete_dart_2_only_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ rm test/over_react/component_declaration/flux_component_test/component2/unsound_
rm test/over_react/component_declaration/flux_component_test/unsound_flux_component_test.dart
rm test/over_react_component_declaration_non_null_safe_test.dart

# Remove the reference to the test file. Use a temporary file since we can't
# redirect to/from the same file in the same command. See https://github.com/koalaman/shellcheck/wiki/SC2094
mv dart_test.yaml dart_test.yaml.old
grep over_react_component_declaration_non_null_safe_test.dart \
--fixed-strings \
--invert-match \
dart_test.yaml.old > dart_test.yaml

rm -rf tools/analyzer_plugin/test/unit/util/non_null_safe
rm -rf tools/analyzer_plugin/test/integration/assists/non_null_safe
rm -rf tools/analyzer_plugin/test/integration/diagnostics/non_null_safe

0 comments on commit 9d1cdd2

Please sign in to comment.