Skip to content

Commit

Permalink
修正单元测试错误
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Jul 26, 2023
1 parent 5004154 commit 3f0399d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nop-xlang/src/test/java/io/nop/xlang/xpl/TestXplTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void onFileDelete(Path root, Path path) {

// 依赖文件修改导致xtask自动重新运行,产生不同的输出文件
String text = ResourceHelper.readText(resultResource);
if(text.equals(value)){
if(text.equals(value.toString())){
try {
Thread.sleep(500);
} catch (Exception e) {
Expand Down

0 comments on commit 3f0399d

Please sign in to comment.