Skip to content

Commit 447a25b

Browse files
ChrisHennickAtGoogleronshapiro
authored andcommitted
Fix ComponentProcessorTest failure: note now says "Generating a MembersInjector for..." instead of "Generating a MembersInjector or Factory for..."
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=116614186
1 parent 3cc53bc commit 447a25b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/src/test/java/dagger/internal/codegen/ComponentProcessorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,17 +2216,17 @@ public boolean apply(Element element) {
22162216
})))
22172217
.compilesWithoutWarnings()
22182218
.withNoteContaining(
2219-
"Generating a MembersInjector or Factory for "
2219+
"Generating a MembersInjector for "
22202220
+ "test.inject.LocalInjectMemberNoConstructor. "
22212221
+ "Prefer to run the dagger processor over that class instead.")
22222222
.and()
22232223
.withNoteContaining(
2224-
"Generating a MembersInjector or Factory for "
2224+
"Generating a MembersInjector for "
22252225
+ "test.inject.LocalInjectMemberWithConstructor. "
22262226
+ "Prefer to run the dagger processor over that class instead.")
22272227
.and()
22282228
.withNoteContaining(
2229-
"Generating a MembersInjector or Factory for "
2229+
"Generating a MembersInjector for "
22302230
+ "test.inject.ParentInjectMemberWithConstructor. "
22312231
+ "Prefer to run the dagger processor over that class instead.")
22322232
.and()

0 commit comments

Comments
 (0)