fix: lint
This commit is contained in:
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@@ -13,9 +13,11 @@ jobs:
|
|||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
java-package: jdk+fx
|
java-package: jdk+fxv
|
||||||
- name: Check style
|
- name: Check style main
|
||||||
run: ./gradlew checkstyleMain
|
run: ./gradlew checkstyleMain
|
||||||
|
- name: Check style test
|
||||||
|
run: ./gradlew checkstyleTest
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
|||||||
@@ -188,4 +188,4 @@ public class TaskTest {
|
|||||||
Assert.assertFalse("Task should fail since ExecutorService is shut down and RejectedExecutionException should be thrown", result);
|
Assert.assertFalse("Task should fail since ExecutorService is shut down and RejectedExecutionException should be thrown", result);
|
||||||
Assert.assertTrue("RejectedExecutionException should be recorded", task.getException() instanceof RejectedExecutionException);
|
Assert.assertTrue("RejectedExecutionException should be recorded", task.getException() instanceof RejectedExecutionException);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user