Skip to content

Commit af8df5b

Browse files
author
Martynas Petuška
committed
Kotlin 1.4.0-rc tests
1 parent c3f63a0 commit af8df5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redux-kotlin/src/commonTest/kotlin/org/reduxkotlin/ApplyMiddlewareTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.reduxkotlin
22

3+
import ch.tutteli.atrium.api.cc.en_GB.toThrow
34
import ch.tutteli.atrium.verbs.expect
45
import org.spekframework.spek2.Spek
56
import org.spekframework.spek2.style.specification.describe
@@ -22,7 +23,7 @@ object ApplyMiddlewareSpec : Spek({
2223
expect {
2324
val storeEnhancer: StoreEnhancer<TestState> = applyMiddleware(::dispatchingMiddleware)
2425
createStore(todos, TestState(), storeEnhancer)
25-
}.toThrow<Exception>().asAssert({})
26+
}.toThrow<Exception> {}
2627
}
2728

2829
/*

0 commit comments

Comments
 (0)