Skip to content

Commit 216dc2e

Browse files
author
Dave Syer
committed
Clean out grapes
1 parent 535ac02 commit 216dc2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.junit.Rule;
3030
import org.junit.Test;
3131
import org.springframework.boot.OutputCapture;
32+
import org.springframework.boot.cli.command.CleanCommand;
3233
import org.springframework.boot.cli.command.RunCommand;
3334

3435
import static org.junit.Assert.assertEquals;
@@ -66,8 +67,9 @@ public RunCommand call() throws Exception {
6667
}
6768

6869
@Before
69-
public void setup() {
70+
public void setup() throws Exception {
7071
System.setProperty("disableSpringSnapshotRepos", "true");
72+
new CleanCommand().run("org.springframework");
7173
}
7274

7375
@After

0 commit comments

Comments
 (0)