Skip to content

Commit

Permalink
Use AssertJ in merged 1.3.x tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Jun 11, 2016
1 parent e27bc9d commit 9f30633
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ public void loadPackageNameWithoutDot() throws Exception {
BeanDefinitionLoader loader = new BeanDefinitionLoader(this.registry,
MyComponentInPackageWithoutDot.class.getPackage().getName());
int loaded = loader.load();
assertThat(loaded, equalTo(1));
assertTrue(this.registry.containsBean("myComponentInPackageWithoutDot"));
assertThat(loaded).isEqualTo(1);
assertThat(this.registry.containsBean("myComponentInPackageWithoutDot")).isTrue();
}

@Test
Expand Down

0 comments on commit 9f30633

Please sign in to comment.