mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-04-30 20:24:32 +02:00
updated error reporting for non-existent files
This commit is contained in:
@@ -173,7 +173,7 @@ public class AssemblyAnalyzerTest extends BaseTest {
|
||||
analyzer.analyze(d, null);
|
||||
fail("Expected an AnalysisException");
|
||||
} catch (AnalysisException ae) {
|
||||
assertEquals("File does not exist", ae.getMessage());
|
||||
assertTrue(ae.getMessage().contains("nonexistent.dll does not exist and cannot be analyzed by dependency-check"));
|
||||
} finally {
|
||||
System.setProperty(LOG_KEY, oldProp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user