Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-10 12:50:37 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-10 12:50:37 +0300
commit7a94787fc93b5be13388e4e1aeeaf4f8773446c5 (patch)
treefc25e02acecf4bf64090f2d686c8cbc06a4962de /qa
parent9910968f0c3a630b9ac04b9691b4fba51619e2d3 (diff)
Use `warn` instead of `$stderr.puts` in QA selectors test
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/scenario/test/sanity/selectors.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/scenario/test/sanity/selectors.rb b/qa/qa/scenario/test/sanity/selectors.rb
index 157336be66f..5a8f368f88c 100644
--- a/qa/qa/scenario/test/sanity/selectors.rb
+++ b/qa/qa/scenario/test/sanity/selectors.rb
@@ -15,7 +15,7 @@ module QA
validators.map(&:errors).flatten.tap do |errors|
break if errors.none?
- $stderr.puts <<~EOS
+ warn <<~EOS
GitLab QA sanity selectors validation test detected problems
with your merge request!
@@ -40,7 +40,7 @@ module QA
EOS
- $stderr.puts errors
+ warn errors
end
validators.each(&:validate!)