Skip to content

Commit 923acfc

Browse files
author
Krishna Kumar Parthasarathy
committed
Update test names
1 parent de3a84b commit 923acfc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/java/org/jabref/model/entry/KeywordListTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,38 +117,38 @@ void mergeTwoListsOfKeywordsShouldReturnTheKeywordsMerged() {
117117
}
118118

119119
@Test
120-
public void parseKeywordWithEscapedDelimiterDoesNotSplitKeyword() {
120+
void parseKeywordWithEscapedDelimiterDoesNotSplitKeyword() {
121121
assertEquals(new KeywordList("keyword,one", "keywordTwo"),
122122
KeywordList.parse("keyword\\,one, keywordTwo", ',', '>'));
123123
}
124124

125125
@Test
126-
public void parseKeywordWithEscapedDelimiterAtEndPreservesDelimiter() {
126+
void parseKeywordWithEscapedDelimiterAtEndPreservesDelimiter() {
127127
assertEquals(new KeywordList("keywordOne,", "keywordTwo"),
128128
KeywordList.parse("keywordOne\\,, keywordTwo", ',', '>'));
129129
}
130130

131131
@Test
132-
public void parseKeywordWithEscapedBackslashTreatsItAsLiteral() {
132+
void parseKeywordWithEscapedBackslashTreatsItAsLiteral() {
133133
assertEquals(new KeywordList("keyword\\", "keywordTwo"),
134134
KeywordList.parse("keyword\\\\, keywordTwo", ',', '>'));
135135
}
136136

137137
@Test
138-
public void parseKeywordWithEscapedDelimiterAndHierarchicalDelimiterCreatesHierarchy() {
138+
void parseKeywordWithEscapedDelimiterAndHierarchicalDelimiterCreatesHierarchy() {
139139
Keyword expected = Keyword.of("keyword,one", "sub");
140140
assertEquals(new KeywordList(expected),
141141
KeywordList.parse("keyword\\,one > sub", ',', '>'));
142142
}
143143

144144
@Test
145-
public void parseKeywordWithMultipleEscapedDelimitersTreatsThemAsLiteral() {
145+
void parseKeywordWithMultipleEscapedDelimitersTreatsThemAsLiteral() {
146146
assertEquals(new KeywordList("one,two,three", "four"),
147147
KeywordList.parse("one\\,two\\,three, four", ',', '>'));
148148
}
149149

150150
@Test
151-
public void parseKeywordWithTrailingEscapeCharacterTreatsItAsLiteralBackslash() {
151+
void parseKeywordWithTrailingEscapeCharacterTreatsItAsLiteralBackslash() {
152152
assertEquals(new KeywordList("keywordOne\\"),
153153
KeywordList.parse("keywordOne\\\\", ',', '>'));
154154
}

0 commit comments

Comments
 (0)