Could use an interpolated string `allFailures = "#{key} #{val.join(', ')}"`