Skip to content

Commit 25c4ab3

Browse files
committed
adapt tests to new required min versions
1 parent 7355cb2 commit 25c4ab3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/GoogleJavaFormatIntegrationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ void integration() throws IOException {
3131
"spotless {",
3232
" java {",
3333
" target file('test.java')",
34-
" googleJavaFormat('1.2')",
34+
" googleJavaFormat('1.8')",
3535
" }",
3636
"}");
3737

@@ -41,8 +41,8 @@ void integration() throws IOException {
4141

4242
checkRunsThenUpToDate();
4343
replace("build.gradle",
44-
"googleJavaFormat('1.2')",
45-
"googleJavaFormat('1.3')");
44+
"googleJavaFormat('1.8')",
45+
"googleJavaFormat('1.9')");
4646
checkRunsThenUpToDate();
4747
}
4848
}

0 commit comments

Comments
 (0)