//arrow-meta-test/arrow.meta.plugin.testing/AssertSyntax/compilesWith
[jvm]
open fun compilesWith(f: (String) -> Boolean): Assert.SingleAssert
Checks that code snippet compiles successfully and (possible) warning message has a certain property.
For instance:
compilesWith { it.contains("Unsafe operation") }
jvm
f | function that must return true from the warning message as an input. |
Do you like Arrow?
✖