private String linesToString() {
    StringBuilder result = new StringBuilder();
    for (StringBuilder line : lines)
      result.append(line).append('\n');
    return result.toString();
  }
Creates a string representation of an assertion and its recorded values.

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/runtime/ExpressionInfoRenderer.java