Skip to content

Commit 39ae022

Browse files
committed
feat:添加测试用例
添加了agent文件工具的测试用例
1 parent cb6c822 commit 39ae022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dongtai-agent/src/test/java/io/dongtai/iast/agent/util/FileUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public void testGetResourceToFile() {
1616
String resourceName = "iast.properties.example"; // 假设存在名为test_resource.txt的资源文件
1717
String fileName = tempDirectoryPath + "test.example"; // 替换为实际的目标文件路径
1818

19-
boolean result = false;
19+
boolean result;
2020
try {
2121
result = FileUtils.getResourceToFile(resourceName, fileName);
2222
} catch (IOException e) {

0 commit comments

Comments
 (0)