assertFalse(functionFlagged("l7", LintWarning.WarningType.REDUNDANT_LAMBDA, warningList));
}
/** Test unplinged-primitive-arg detection */
public void testLintWalkerUnplingedPrimitveArgs() {
List<LintWarning> warningList = SourceMetricFinder.computeLintWarnings(moduleDefn, moduleTypeInfo, new AcceptAllQualifiedNamesFilter(), false, true, false, false, false, false);
assertTrue(functionFlagged("fullyUnplingedPrimitives", LintWarning.WarningType.UNPLINGED_PRIMITIVE_ARG, warningList));
assertTrue(functionFlagged("partiallyUnplingedPrimitives1", LintWarning.WarningType.UNPLINGED_PRIMITIVE_ARG, warningList));
assertTrue(functionFlagged("partiallyUnplingedPrimitives2", LintWarning.WarningType.UNPLINGED_PRIMITIVE_ARG, warningList));
assertTrue(functionFlagged("partiallyUnplingedPrimitives3", LintWarning.WarningType.UNPLINGED_PRIMITIVE_ARG, warningList));