提交 19bbb454 编写于 作者: T terrymanu

Revise #7021

上级 98bb6a81
...@@ -40,7 +40,7 @@ import static org.mockito.Mockito.verify; ...@@ -40,7 +40,7 @@ import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
@RunWith(MockitoJUnitRunner.class) @RunWith(MockitoJUnitRunner.class)
public class PostgreSQLPacketCodecEngineTest { public final class PostgreSQLPacketCodecEngineTest {
@Mock @Mock
private ChannelHandlerContext context; private ChannelHandlerContext context;
......
...@@ -24,7 +24,7 @@ import java.sql.Types; ...@@ -24,7 +24,7 @@ import java.sql.Types;
import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat; import static org.junit.Assert.assertThat;
public class PostgreSQLColumnTypeTest { public final class PostgreSQLColumnTypeTest {
@Test @Test
public void assertValueOfJDBCType() { public void assertValueOfJDBCType() {
...@@ -52,5 +52,4 @@ public class PostgreSQLColumnTypeTest { ...@@ -52,5 +52,4 @@ public class PostgreSQLColumnTypeTest {
public void assertGetValue() { public void assertGetValue() {
assertThat(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8.getValue(), is(20)); assertThat(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8.getValue(), is(20));
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册