Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wind57 committed Mar 30, 2024
1 parent 2d6d17d commit 9035201
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ void testProcessNamedDataTwo(CapturedOutput output) {
* there are some things to see here:
*
* 1. 'three=3' is present in the result, which means we have read 'account.properties'
* . 2. 'five=5' is present in the result, which means we have read 'account-default.properties'
* 2. even if we have read 'account.properties', we have 'one=1' (and not 'one=11'),
* since simple properties override the ones from yml/yaml/properties
* 3. 'four=4' is not present in the result, because we do not read 'account-k8s.properties',
* since 'k8s' is not an active profile.
* 2. 'five=5' is present in the result, which means we have read 'account-default.properties'
* 3. even if we have read 'account.properties', we have 'one=1' (and not 'one=11'),
* since simple properties override the ones from yml/yaml/properties
* 4. 'four=4' is not present in the result, because we do not read 'account-k8s.properties',
* since 'k8s' is not an active profile.
* </pre>
*/
Assertions.assertEquals(result.data(), Map.of("one", "1", "two", "2", "three", "3", "five", "5"));
Expand Down Expand Up @@ -277,9 +277,9 @@ void testProcessNamedDataThree(CapturedOutput output) {
* <pre>
* - includeDefaultProfileData = false
* - emptyActiveProfiles = false
* - profileBasedSourceName = false
* - defaultProfilePresent = false
* - rawDataContainsProfileBasedSource = false
* - profileBasedSourceName = false
* - defaultProfilePresent = false
* - rawDataContainsProfileBasedSource = false
* </pre>
*
*/
Expand Down Expand Up @@ -459,16 +459,16 @@ void testProcessNamedDataSix(CapturedOutput output) {
* there are some things to see here:
*
* 1. 'one=1' is not present in the result, we are not supposed to read simple properties.
* 2. 'two-2' is not present in the result, we are not supposed to read simple properties.
* 3. even if we have read 'account.properties', we have 'one=1' (and not 'one=11'),
* since simple properties override the ones from yml/yaml/properties
* 4. 'three=3' is not present in the result, we are not supposed to read '${SPRING>APPLICATION.NAME}'
* properties.
* 5. 'four=4' is not present in the result, which means we have not read 'account-default.properties'
* (but we don't have 'one=111', instead : 'one=1')
* 6. we do not have 'three=3' since we do not read 'account-default.properties'
* 7. we do not have 'six=6' since we do not read 'account-prod.properties'
* (because 'prod' is not an active profile)
* 2. 'two-2' is not present in the result, we are not supposed to read simple properties.
* 3. even if we have read 'account.properties', we have 'one=1' (and not 'one=11'),
* since simple properties override the ones from yml/yaml/properties
* 4. 'three=3' is not present in the result, we are not supposed to read '${SPRING>APPLICATION.NAME}'
* properties.
* 5. 'four=4' is not present in the result, which means we have not read 'account-default.properties'
* (but we don't have 'one=111', instead : 'one=1')
* 6. we do not have 'three=3' since we do not read 'account-default.properties'
* 7. we do not have 'six=6' since we do not read 'account-prod.properties'
* (because 'prod' is not an active profile)
* </pre>
*/
Assertions.assertEquals(result.data(), Map.of("one", "1111", "five", "5"));
Expand Down

0 comments on commit 9035201

Please sign in to comment.