lib/http_machinegun.rb in http_machinegun-0.0.2 vs lib/http_machinegun.rb in http_machinegun-0.0.3

- old
+ new

@@ -27,12 +27,12 @@ clients = Array.new( options[:thread_number] , client) results = Parallel.each(clients, :in_threads => Parallel.processor_count) {|url| res = client.execute if res.code =~ /^[^2]..$/ - say("http_status_code:" + res.code, :red) + say("http_status_code:" + res.code + "\n", :red) else - say("http_status_code:" + res.code, :green) + say("http_status_code:" + res.code + "\n", :green) end res }