assertFalse(functionFlagged("notAlias6", LintWarning.WarningType.MISMATCHED_ALIAS_PLINGS, warningList));
}
/** Test the detection of unreferenced let variables */
public void testUnreferencedLetVariableDetection() {
List<LintWarning> warningList = SourceMetricFinder.computeLintWarnings(moduleDefn, moduleTypeInfo, new AcceptAllQualifiedNamesFilter(), false, false, false, false, false, true);
assertTrue(functionFlagged("unusedLetVars1", LintWarning.WarningType.UNREFERENCED_LET_VARIABLE, warningList));
assertTrue(functionFlagged("unusedLetVars2", LintWarning.WarningType.UNREFERENCED_LET_VARIABLE, warningList));
assertTrue(functionFlagged("unusedLetVars3", LintWarning.WarningType.UNREFERENCED_LET_VARIABLE, warningList));
assertTrue(functionFlagged("unusedLetVars4", LintWarning.WarningType.UNREFERENCED_LET_VARIABLE, warningList));