Commit ac10ebba authored by Madhura Bhave's avatar Madhura Bhave

Fix checkstyle

parent 67fab60f
...@@ -92,19 +92,19 @@ class SpringBootContextLoaderTests { ...@@ -92,19 +92,19 @@ class SpringBootContextLoaderTests {
} }
@Test @Test
public void noActiveProfiles() { void noActiveProfiles() {
Environment environment = getApplicationEnvironment(SimpleConfig.class); Environment environment = getApplicationEnvironment(SimpleConfig.class);
assertThat(environment.getActiveProfiles()).isEmpty(); assertThat(environment.getActiveProfiles()).isEmpty();
} }
@Test @Test
public void multipleActiveProfiles() { void multipleActiveProfiles() {
Environment environment = getApplicationEnvironment(MultipleActiveProfiles.class); Environment environment = getApplicationEnvironment(MultipleActiveProfiles.class);
assertThat(environment.getActiveProfiles()).containsExactly("profile1", "profile2"); assertThat(environment.getActiveProfiles()).containsExactly("profile1", "profile2");
} }
@Test @Test
public void activeProfileWithComma() { void activeProfileWithComma() {
Environment environment = getApplicationEnvironment(ActiveProfileWithComma.class); Environment environment = getApplicationEnvironment(ActiveProfileWithComma.class);
assertThat(environment.getActiveProfiles()).containsExactly("profile1,2"); assertThat(environment.getActiveProfiles()).containsExactly("profile1,2");
} }
......
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