shouldHaveText

open infix override fun File.shouldHaveText(expected: String)(source)

Asserts that the provided File has the expected text after reading it and using relative paths.

Parameters

expected

The expected text that should be present in the file.