beginControlFlow

fun beginControlFlow(controlFlow: String, vararg args: Any): FunSpec.Builder

Parameters

controlFlow

the control flow construct and its code, such as "if (foo == 5)".

  • Shouldn't contain braces or newline characters.