优化:修正单元测试中组件的数量

wuhaoyang
Guo XIn 10 months ago
parent d68e401b42
commit f2f8dab15e
  1. 2
      sonar-keyware-plugins-java/src/test/java/com/keyware/sonar/java/rules/JavaFileCheckRegistrarTest.java

@ -27,7 +27,7 @@ public class JavaFileCheckRegistrarTest {
JavaFileCheckRegistrar registrar = new JavaFileCheckRegistrar();
registrar.register(context);
assertThat(context.checkClasses()).hasSize(6);
assertThat(context.checkClasses()).hasSize(9);
assertThat(context.testCheckClasses()).hasSize(0);
}

Loading…
Cancel
Save