Skip to content

Commit d9437e2

Browse files
committed
fix: address unit testing issues
1 parent a23d3c8 commit d9437e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/jabref/logic/journals/JournalAbbreviationRepositoryTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ void dotlessForPhysRevB() {
408408

409409
@ParameterizedTest
410410
@MethodSource("provideAbbreviationTestCases")
411-
void fuzzyMatch(List<Abbreviation> abbreviationList, String input, String expectedAbbreviation, String expectedDotless, String expectedShortest, String ambiguousInput) {
412-
repository.addCustomAbbreviations(Set.copyOf(abbreviationList));
411+
void fuzzyMatch(Set<Abbreviation> abbreviationSet, String input, String expectedAbbreviation, String expectedDotless, String expectedShortest, String ambiguousInput) {
412+
repository.addCustomAbbreviations(abbreviationSet);
413413

414414
assertEquals(expectedAbbreviation, repository.getDefaultAbbreviation(input).orElse("WRONG"));
415415

0 commit comments

Comments
 (0)