snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb in fastlane-2.55.0.beta.20170831010002 vs snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb in fastlane-2.55.0

- old
+ new

@@ -150,10 +150,10 @@ name = summary.data.first[:run_destination_name] if summary.data.first[:number_of_tests] == 0 hash[name] = ["No tests were executed"] else tests = Array(summary.data.first[:tests]) - hash[name] = tests.map { |test| test[:failures].map { |failure| failure[:failure_message] } }.flatten + hash[name] = tests.map { |test| Array(test[:failures]).map { |failure| failure[:failure_message] } }.flatten end end end def xcodebuild_log_path(language: nil, locale: nil)