diff --git a/checkstyle.json b/checkstyle.json index e01ae35c..646f643f 100644 --- a/checkstyle.json +++ b/checkstyle.json @@ -517,7 +517,8 @@ "checkstyle.Main", "checkstyle.Checker", "checkstyle.ChecksInfo", - "checkstyle.checks.imports.UnusedImportCheck" + "checkstyle.checks.imports.UnusedImportCheck", + "TestMain" ], "MultipleStringLiterals": [ "checks", diff --git a/test/TestMain.hx b/test/TestMain.hx index 936be377..ea323e9d 100644 --- a/test/TestMain.hx +++ b/test/TestMain.hx @@ -37,7 +37,7 @@ class TestMain { var report = { coverage: {} }; var classes = logger.coverage.getClasses(); for (cls in classes) { - var coverageData:Array = [null]; + var coverageData:Array = [null]; var results:CoverageResult = cls.getResults(); for (i in 1...results.l) coverageData[i] = 1; var c = cls.name.replace(".", "/") + ".hx"; @@ -67,4 +67,6 @@ class TestMain { static function main() { new TestMain(); } -} \ No newline at end of file +} + +typedef LineCoverageResult = Dynamic; \ No newline at end of file