Commit 4001809a authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #18372 from rweisleder

* pr/18372:
  Fix typo in ApplicationContextAssert

Closes gh-18372
parents 050460f6 92ae7b21
......@@ -175,7 +175,7 @@ public class ApplicationContextAssert<C extends ApplicationContext>
String[] names = scope.getBeanNamesForType(getApplicationContext(), type);
if (names.length > 0) {
throwAssertionError(new BasicErrorMessageFactory(
"%nExpecting:%n <%s>%nnot to have a beans of type:%n <%s>%nbut found:%n <%s>",
"%nExpecting:%n <%s>%nnot to have any beans of type:%n <%s>%nbut found:%n <%s>",
getApplicationContext(), type, names));
}
return this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment