From 7a94787fc93b5be13388e4e1aeeaf4f8773446c5 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Wed, 10 Jan 2018 10:50:37 +0100 Subject: Use `warn` instead of `$stderr.puts` in QA selectors test --- qa/qa/scenario/test/sanity/selectors.rb | 4 ++-- 1 file 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!) -- cgit v1.2.1