mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[swift] kotlinify tests
GitOrigin-RevId: 00d6931f8077226278cdb9e0b5a37402981fb80e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7889dc7568
commit
edae7f4aa0
@@ -2,3 +2,8 @@
|
||||
package com.intellij.testFramework
|
||||
|
||||
inline fun <reified T> assertInstanceOf(o: Any?): T = UsefulTestCase.assertInstanceOf(o, T::class.java)
|
||||
|
||||
inline fun <reified T> requireIs(o: Any?): T {
|
||||
assertInstanceOf<T>(o)
|
||||
return o as T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user