This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch 3.1.6-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.1.6-prepare by this push:
new 6212207dd7 fix unimport class in the test class
6212207dd7 is described below
commit 6212207dd7f7cf935296a6a071ac0251d2f52894
Author: zhuangchong <[email protected]>
AuthorDate: Sun Apr 23 15:14:34 2023 +0800
fix unimport class in the test class
---
.../java/org/apache/dolphinscheduler/service/cron/CronUtilsTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/cron/CronUtilsTest.java
b/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/cron/CronUtilsTest.java
index c94d63983f..e50505af06 100644
---
a/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/cron/CronUtilsTest.java
+++
b/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/cron/CronUtilsTest.java
@@ -240,7 +240,7 @@ public class CronUtilsTest {
@Test
public void testValid() {
- Assertions.assertFalse(CronUtils.isValidExpression("0 0 13/0 * * ?
*"));
- Assertions.assertTrue(CronUtils.isValidExpression("0 0 13-0 * * ? *"));
+ Assert.assertFalse(CronUtils.isValidExpression("0 0 13/0 * * ? *"));
+ Assert.assertTrue(CronUtils.isValidExpression("0 0 13-0 * * ? *"));
}
}