appendName

fun Assert<*>.appendName(name: String, separator: String = ""): String

Constructs a new name appending to the existing name if available using the given separator.

Parameters

name

The new name to append to the current name, or the new name if there is no current one.

separator

The separator between the current name and the suffix if the current name exists.