mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed test failed
This commit is contained in:
@@ -63,13 +63,13 @@ public class LogEventTest {
|
||||
public void getTypeNameInputPositiveOutputNotNull4() {
|
||||
|
||||
// Arrange
|
||||
final int type = 36;
|
||||
final int type = 80;
|
||||
|
||||
// Act
|
||||
final String actual = LogEvent.getTypeName(type);
|
||||
|
||||
// Assert result
|
||||
Assert.assertEquals("Unknown", actual);
|
||||
Assert.assertTrue(actual.startsWith("Unknown"));
|
||||
}
|
||||
|
||||
// Test written by Diffblue Cover.
|
||||
|
||||
Reference in New Issue
Block a user