Skip to content

Commit 2f641df

Browse files
committed
fix test UNLIMITED
1 parent 270230c commit 2f641df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

channel-event-bus/src/commonTest/kotlin/com/hoc081098/channeleventbus/ChannelEventTest.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ class ChannelEventTest {
3838

3939
@Test
4040
fun testKeyToString() {
41-
assertEquals("ChannelEvent.Key(TestEventInt)", TestEventIntKey.toString())
42-
assertEquals("ChannelEvent.Key(TestEventInt)", channelEventKeyOf<TestEventInt>().toString())
41+
assertEquals("ChannelEvent.Key(TestEventInt, UNLIMITED)", TestEventIntKey.toString())
42+
assertEquals("ChannelEvent.Key(TestEventInt, UNLIMITED)", channelEventKeyOf<TestEventInt>().toString())
4343

44-
assertEquals("ChannelEvent.Key(TestEventString)", TestEventStringKey.toString())
45-
assertEquals("ChannelEvent.Key(TestEventString)", channelEventKeyOf<TestEventString>().toString())
44+
assertEquals("ChannelEvent.Key(TestEventString, UNLIMITED)", TestEventStringKey.toString())
45+
assertEquals("ChannelEvent.Key(TestEventString, UNLIMITED)", channelEventKeyOf<TestEventString>().toString())
4646

47-
assertEquals("ChannelEvent.Key(TestEventLong)", TestEventLongKey.toString())
48-
assertEquals("ChannelEvent.Key(TestEventLong)", channelEventKeyOf<TestEventLong>().toString())
47+
assertEquals("ChannelEvent.Key(TestEventLong, UNLIMITED)", TestEventLongKey.toString())
48+
assertEquals("ChannelEvent.Key(TestEventLong, UNLIMITED)", channelEventKeyOf<TestEventLong>().toString())
4949
}
5050
}

0 commit comments

Comments
 (0)