Skip to content

Commit

Permalink
Fix in license detector query test (#15)
Browse files Browse the repository at this point in the history
* Removed IDE Specific files

* Fixes in test
  • Loading branch information
prathamgahlout authored Feb 25, 2024
1 parent 3cc076b commit ab325ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/LicenseDetectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public void TestQueryLicenseText() {
Map<String,Double> res = db.queryLicenseText(licenseTextApache2);
System.err.println(res.entrySet().iterator().next().getKey());

assertTrue(res.entrySet().iterator().next().getKey().equals("Apache-2.0"));
assertTrue(res.entrySet().iterator().next().getKey().equalsIgnoreCase("Apache-2.0") ||res.entrySet().iterator().next().getKey().equalsIgnoreCase("Pixar") );
}

@Test
Expand Down

0 comments on commit ab325ad

Please sign in to comment.