text

fun text(name: String): String(source)

Loads a UTF-8 text fixture, preserving whitespace.

Return

The decoded text.

Parameters

name

A relative file path beneath root.

Throws

when the fixture cannot be read.