Skip to content

Commit 64f1433

Browse files
style: appease Codacy
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
1 parent 620db70 commit 64f1433

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/test/java/net/sf/jsqlparser/expression/HexValueTest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import org.junit.jupiter.api.Assertions;
77
import org.junit.jupiter.api.Test;
88

9-
import static org.junit.jupiter.api.Assertions.*;
10-
119
class HexValueTest {
1210

1311
@Test
@@ -16,14 +14,13 @@ void testHexCode() throws JSQLParserException {
1614
PlainSelect select = (PlainSelect) CCJSqlParserUtil.parse(sqlString);
1715

1816
HexValue hex1 = (HexValue) select.getSelectItem(0).getExpression();
19-
HexValue hex2 = (HexValue) select.getSelectItem(1).getExpression();
20-
2117
Assertions.assertEquals("F001", hex1.getDigits());
2218
Assertions.assertEquals(61441, hex1.getLong());
2319
Assertions.assertEquals(61441, hex1.getLongValue().getValue());
2420

21+
HexValue hex2 = (HexValue) select.getSelectItem(1).getExpression();
2522
Assertions.assertEquals("00A1", hex2.getDigits());
2623
Assertions.assertEquals(161, hex2.getLong());
2724
Assertions.assertEquals(161, hex2.getLongValue().getValue());
2825
}
29-
}
26+
}

0 commit comments

Comments
 (0)