From 9f306339217d77d09c1089345514359577d066f5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 10 Jun 2016 17:37:49 -0700 Subject: [PATCH] Use AssertJ in merged 1.3.x tests --- .../org/springframework/boot/BeanDefinitionLoaderTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot/src/test/java/org/springframework/boot/BeanDefinitionLoaderTests.java b/spring-boot/src/test/java/org/springframework/boot/BeanDefinitionLoaderTests.java index 3d851d85a3..f031562ff8 100644 --- a/spring-boot/src/test/java/org/springframework/boot/BeanDefinitionLoaderTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/BeanDefinitionLoaderTests.java @@ -130,8 +130,8 @@ public class BeanDefinitionLoaderTests { 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