Skip to content

Commit 54c645f

Browse files
committed
fixed test failed
1 parent 6c81ab6 commit 54c645f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbsync/src/test/java/com/taobao/tddl/dbsync/binlog/LogEventTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ public void getTypeNameInputPositiveOutputNotNull3() {
6363
public void getTypeNameInputPositiveOutputNotNull4() {
6464

6565
// Arrange
66-
final int type = 36;
66+
final int type = 80;
6767

6868
// Act
6969
final String actual = LogEvent.getTypeName(type);
7070

7171
// Assert result
72-
Assert.assertEquals("Unknown", actual);
72+
Assert.assertTrue(actual.startsWith("Unknown"));
7373
}
7474

7575
// Test written by Diffblue Cover.

0 commit comments

Comments
 (0)