Skip to content

Commit 691870a

Browse files
committed
fix: test opt
1 parent 48f762a commit 691870a

File tree

1 file changed

+2
-0
lines changed
  • simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonTest/kotlin/love/forte/simbot/component/onebot/v11/core/event

1 file changed

+2
-0
lines changed

simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonTest/kotlin/love/forte/simbot/component/onebot/v11/core/event/CustomEventResolverTests.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class CustomEventResolverTests {
7777
}
7878
}
7979

80+
@OptIn(ExperimentalCustomEventResolverApi::class)
8081
@Test
8182
fun testCustomEventResolver() = runTest {
8283
val count = atomic(0)
@@ -115,6 +116,7 @@ class CustomEventResolverTests {
115116
assertEquals(1, count.value)
116117
}
117118

119+
@OptIn(ExperimentalCustomEventResolverApi::class)
118120
@Test
119121
fun testCustomEventResolverByKtxSerialization() = runTest {
120122
val count = atomic(0)

0 commit comments

Comments
 (0)