]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5304 Fix UT
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 14 May 2014 15:32:33 +0000 (17:32 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 14 May 2014 15:32:33 +0000 (17:32 +0200)
sonar-plugin-api/src/test/java/org/sonar/api/resources/CoreMetricsTest.java

index 086005be0f83aa8101c1bee2f8d094567a294645..e004ec258cc46445d7f27d6f9258fdad29d3ab4a 100644 (file)
@@ -32,7 +32,7 @@ public class CoreMetricsTest {
   @Test
   public void read_metrics_from_class_reflection() {
     List<Metric> metrics = CoreMetrics.getMetrics();
-    assertThat(metrics).hasSize(152);
+    assertThat(metrics).hasSize(151);
     assertThat(metrics).contains(CoreMetrics.NCLOC, CoreMetrics.DIRECTORIES);
   }