Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertpotocki committed May 7, 2016
1 parent 8e62b82 commit 2935111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void getConfigurationShouldDisallowLeadingSlashInClasspathLocation() thro
Environment environment = new ImmutableEnvironment("/otherApplicationConfigs");

expectedException.expect(MissingEnvironmentException.class);
assertThat(source.getConfiguration(environment)).containsOnly(MapEntry.entry("some.setting", "otherAppSetting"));
source.getConfiguration(environment);
}

@Test
Expand Down

0 comments on commit 2935111

Please sign in to comment.