Skip to content

Commit

Permalink
Closes #1510: Introduce country name to country code mapping in order…
Browse files Browse the repository at this point in the history
… to increase the coverage of country codes extracted from JATS records

Introducing minor change in unit test: adding leading '/' characted in classpath location.
  • Loading branch information
marekhorst committed Jan 9, 2025
1 parent e758b49 commit 33fdc5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public void testGetCountryCode_WithEmptyInput() {
@Test
public void testInstantiate_MappingFileNotFound() {
assertThrows(RuntimeException.class, () -> new CountryNameToCodeMapper(
"eu/dnetlib/iis/wf/ingest/pmc/metadata/non_existing.json"));
"/eu/dnetlib/iis/wf/ingest/pmc/metadata/non_existing.json"));
}
}

0 comments on commit 33fdc5d

Please sign in to comment.