Skip to content

Commit

Permalink
Modified changelog
Browse files Browse the repository at this point in the history
Added entry to changelog
Removed unused imports from uTests
  • Loading branch information
michalfarago committed Oct 13, 2023
1 parent 3697ced commit 10bb07a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We modified the DOI cleanup to infer the DOI from an ArXiV ID if it's present. [#10426](https://github.com/JabRef/jabref/issues/10426)
- The ISI importer uses the field `comment` for notes (instead of `review). [#10478](https://github.com/JabRef/jabref/pull/10478)
- If no existing document is selected for exporting "Embedded BibTeX pdf" JabRef will now create a new PDF file with a sample text and the metadata. [#10101](https://github.com/JabRef/jabref/issues/10101)
- Translated titles format no longer raise a warning. [#10459](https://github.com/JabRef/jabref/issues/10459)

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
Expand Down Expand Up @@ -204,7 +202,12 @@ void bibTexAcceptsCapitalLetterOnlyAfterSpecialCharacter() {
void bibTexAcceptsOriginalAndTranslatedTitle() {
String title = "This is a title [This is translated title]";
assertEquals(Optional.empty(), checker.checkValue(title));
assertEquals(Optional.empty(), checker.checkValue(translatedTitle(title)));
}

@Test
void bibTexNotAcceptsLeadingTranslatedTitleWithOriginal() {
String title = "[This is translated title] This is a title";
assertNotEquals(Optional.empty(), checker.checkValue(title));
}

private String translatedTitle(String title) {
Expand Down

0 comments on commit 10bb07a

Please sign in to comment.