diff --git a/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java b/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java
+++ b/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java
@@ -163,9 +163,8 @@ public class RetryTemplateBuilderTest {
 
 	@Test(expected = IllegalArgumentException.class)
 	public void testFailOnNotationsMix() {
-		RetryTemplate.builder()
-					 .retryOn(Collections.<Class<? extends Throwable>>singletonList(IOException.class))
-					 .notRetryOn(Collections.<Class<? extends Throwable>>singletonList(OutOfMemoryError.class));
+		RetryTemplate.builder().retryOn(Collections.<Class<? extends Throwable>>singletonList(IOException.class))
+				.notRetryOn(Collections.<Class<? extends Throwable>>singletonList(OutOfMemoryError.class));
 	}
 
 	/* ---------------- BackOff -------------- */
Fix indents in the RetryTemplateBuilderTest