From 83a6f02ec483f5f1f371a471466f3e40c47b4e0c Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sat, 12 May 2018 09:53:33 +0100 Subject: [PATCH] Polish --- .../boot/cli/command/test/TestRunnerTests.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/test/TestRunnerTests.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/test/TestRunnerTests.java index 85d2e27c98c..f2b9c7329be 100644 --- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/test/TestRunnerTests.java +++ b/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/test/TestRunnerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,8 +40,7 @@ public class TestRunnerTests { given(configuration.getClasspath()).willReturn(new String[0]); this.thrown.expect(RuntimeException.class); this.thrown.expectMessage(equalTo("No classes found in '[foo, bar]'")); - new TestRunner(configuration, new String[] { "foo", "bar" }, new String[0]) - .compileAndRunTests(); + new TestRunner(configuration, new String[] { "foo", "bar" }).compileAndRunTests(); } }