Skip to content

Commit

Permalink
Fix checkstyle violation
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Apr 6, 2021
1 parent 5774ea3 commit 8a04547
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void getOptionsReturnsOptionsFromPropertySourceOptions() {
MapPropertySource source2 = new MapPropertySource("test", Collections.emptyMap());
Options options1 = Options.of(Option.IGNORE_IMPORTS);
Options options2 = Options.of(Option.IGNORE_PROFILES);
PropertySourceOptions propertySourceOptions = (source) -> source == source1 ? options1 : options2;
PropertySourceOptions propertySourceOptions = (source) -> (source != source1) ? options2 : options1;
ConfigData configData = new ConfigData(Arrays.asList(source1, source2), propertySourceOptions);
assertThat(configData.getOptions(source1)).isEqualTo(options1);
assertThat(configData.getOptions(source2)).isEqualTo(options2);
Expand Down

0 comments on commit 8a04547

Please sign in to comment.