Skip to content

Commit

Permalink
Add swift rewrite rules for MDFTesting. (material-components#8504)
Browse files Browse the repository at this point in the history
MDFTesting rewrite rules for swift files were missing.
  • Loading branch information
fluxminds authored Sep 26, 2019
1 parent 8df9fcd commit 55a857f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .kokoro
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ fix_bazel_imports() {
rewrite_tests "s/import <MaterialComponentsBeta\/Material(.+)Beta\.h>/import\/\*Material beta prefix framework import\*\/ \"Material\1Beta.h\"/"
rewrite_tests "s/import <MaterialComponents\/Material(.+)\.h>/import\/\*Material prefix framework import\*\/ \"Material\1.h\"/"
rewrite_tests "s/import <MDFTesting\/MDFTesting\.h>/import \"MDFTesting.h\"/"
rewrite_tests "s/import MDFTesting/import material_testing_ios_MDFTesting/"
rewrite_tests "s/import MDFTextAccessibility/import material_text_accessibility_ios_MDFTextAccessibility/"
rewrite_tests "s/import MDFInternationalization/import material_internationalization_ios_MDFInternationalization/"
stashed_dir="$(pwd)/"
Expand Down Expand Up @@ -167,6 +168,7 @@ fix_bazel_imports() {
rewrite_source "s/import\/\*MDC prefix framework import\*\/ \"MDC(.+)\.h\"/import <MaterialComponents\/MDC\1\.h>/"
rewrite_tests "s/import\/\*Material prefix framework import\*\/ \"Material(.+)\.h\"/import <MaterialComponents\/Material\1\.h>/"
rewrite_tests "s/import \"MDFTesting\.h\"/import <MDFTesting\/MDFTesting.h>/"
rewrite_tests "s/import material_testing_ios_MDFTesting/import MDFTesting/"
rewrite_tests "s/import material_text_accessibility_ios_MDFTextAccessibility/import MDFTextAccessibility/"
rewrite_tests "s/import material_internationalization_ios_MDFInternationalization/import MDFInternationalization/"
}
Expand Down

0 comments on commit 55a857f

Please sign in to comment.