fix: lint

This commit is contained in:
huanghongxun
2021-05-30 03:37:55 +08:00
parent e7c9fcf767
commit a0191aa7c2
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -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);
} }
} }