You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, TestPropertySourceUtils.convertInlinedPropertiesToMap(String...) currently throws an exception if a single String contains more than one key-value pair.
That check made sense when we expected users to supply one key-value pair per string in an array, but that restriction no longer makes sense when text blocks are taken into consideration.
We should therefore remove that restriction and allow users to supply inlined properties as a text block.
The text was updated successfully, but these errors were encountered:
Multiple inlined properties can currently only be supplied as an array of strings:
It would be nice to be able to use a single text block (or multiple text blocks):
However,
TestPropertySourceUtils.convertInlinedPropertiesToMap(String...)
currently throws an exception if a singleString
contains more than one key-value pair.That check made sense when we expected users to supply one key-value pair per string in an array, but that restriction no longer makes sense when text blocks are taken into consideration.
We should therefore remove that restriction and allow users to supply inlined properties as a text block.
The text was updated successfully, but these errors were encountered: