File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/test/java/com/alibaba/dcm/internal Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 6262 <artifactId >commons-io</artifactId >
6363 <scope >test</scope >
6464 </dependency >
65+ <dependency >
66+ <groupId >org.apache.commons</groupId >
67+ <artifactId >commons-lang3</artifactId >
68+ <scope >test</scope >
69+ </dependency >
6570 </dependencies >
6671
6772 <build >
Original file line number Diff line number Diff line change 1+ package com.alibaba.dcm.internal
2+
3+ import io.kotest.core.spec.style.FunSpec
4+ import io.kotest.matchers.shouldBe
5+ import org.apache.commons.lang3.JavaVersion
6+ import org.apache.commons.lang3.SystemUtils
7+
8+ class JavaVersionUtilTests : FunSpec ({
9+ test("isJdkAtMost8") {
10+ JavaVersionUtil .isJdkAtMost8() shouldBe SystemUtils .isJavaVersionAtMost(JavaVersion .JAVA_1_8 )
11+ }
12+ })
You can’t perform that action at this time.
0 commit comments