lib/zold/stress/pool.rb in zold-stress-0.5.3 vs lib/zold/stress/pool.rb in zold-stress-0.6.0
- old
+ new
@@ -66,10 +66,10 @@
['create', "--public-key=#{f.path}", "--network=#{@opts['network']}"] + @opts.arguments
)
end
end
return if balances.find { |b| b[:balance].positive? }
- raise "There is not a single wallet among #{balances.count} with a positive balance, in #{@wallets.path}: \
- #{balances.map { |b| "#{b[:id]}: #{b[:balance]}" }.join("\n")}"
+ raise "There is not a single wallet among #{balances.count} with a positive balance, in #{@wallets.path}:\n\
+#{balances.map { |b| "#{b[:id]}: #{b[:balance]}" }.join("\n")}"
end
end
end