Skip to content

Commit

Permalink
Fixed rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudenw committed May 9, 2024
1 parent bc0b42d commit 6487234
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void standardAbsenceTest() throws Exception {
analyser.analyse(document);
assertTrue(document.getMetaData().detectedLicense());

document = new MonolithicFileDocument(
document = new FileDocument(
Resources.getResourceFile("/elements/sub/Empty.txt"));
analyser.analyse(document);
assertTrue(document.getMetaData().detectedLicense());
Expand All @@ -265,12 +265,12 @@ public void standardPresenceTest() throws Exception {
config.setStandardProcessing(ReportConfiguration.Processing.PRESENCE);
analyser = DefaultAnalyserFactory.createDefaultAnalyser(config);

MonolithicFileDocument document = new MonolithicFileDocument(
Document document = new FileDocument(
Resources.getResourceFile("/elements/Text.txt"));
analyser.analyse(document);
assertTrue(document.getMetaData().detectedLicense());

document = new MonolithicFileDocument(
document = new FileDocument(
Resources.getResourceFile("/elements/sub/Empty.txt"));
analyser.analyse(document);
assertFalse(document.getMetaData().detectedLicense());
Expand Down

0 comments on commit 6487234

Please sign in to comment.