Browse Source

update 优化 执行单元测试 编码问题

疯狂的狮子Li 1 năm trước cách đây
mục cha
commit
1375a19a46
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      pom.xml

+ 1 - 0
pom.xml

@@ -448,6 +448,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>${maven-surefire-plugin.version}</version>
                 <configuration>
+                    <argLine>-Dfile.encoding=UTF-8</argLine>
                     <!-- 根据打包环境执行对应的@Tag测试方法 -->
                     <groups>${profiles.active}</groups>
                     <!-- 排除标签 -->