Commit 33c616ddfb6ae88aa75b802cc5ad5890fa99694b
1 parent
68e20c01
Exists in
master
and in
1 other branch
add newline to test api output
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/test_api.rake
@@ -505,7 +505,7 @@ namespace :test_api do | @@ -505,7 +505,7 @@ namespace :test_api do | ||
505 | 505 | ||
506 | appearances_by_choice_id.each do |choice_id, n_i| | 506 | appearances_by_choice_id.each do |choice_id, n_i| |
507 | if (n_i < (mean - 6*stddev)) || (n_i > mean + 6 *stddev) | 507 | if (n_i < (mean - 6*stddev)) || (n_i > mean + 6 *stddev) |
508 | - error_message += "Choice #{choice_id} in Question ##{question.id} has an irregular number of appearances: #{n_i}, as compared to the mean: #{mean} and stddev #{stddev} for this question" | 508 | + error_message += "Choice #{choice_id} in Question ##{question.id} has an irregular number of appearances: #{n_i}, as compared to the mean: #{mean} and stddev #{stddev} for this question\n" |
509 | end | 509 | end |
510 | end | 510 | end |
511 | end | 511 | end |