Fix formatting of expectation list