From e3ee64a5fd59f4f3203b369424bf8347b563cb11 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 9 Oct 2019 20:39:59 +0100 Subject: [PATCH] Ruby 2.6.3 brew tests fixes --- Library/Homebrew/test/cask/installer_spec.rb | 2 +- Library/Homebrew/test/rubocops/formula_desc_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/cask/installer_spec.rb b/Library/Homebrew/test/cask/installer_spec.rb index 4b1a924257..941184ca5e 100644 --- a/Library/Homebrew/test/cask/installer_spec.rb +++ b/Library/Homebrew/test/cask/installer_spec.rb @@ -115,7 +115,7 @@ describe Cask::Installer, :cask do }.to output( <<~EOS, ==> Satisfying dependencies - ==> Downloading file:#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/cask/caffeine.zip + ==> Downloading file://#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/cask/caffeine.zip ==> Verifying SHA-256 checksum for Cask 'with-installer-manual'. ==> Installing Cask with-installer-manual To complete the installation of Cask with-installer-manual, you must also diff --git a/Library/Homebrew/test/rubocops/formula_desc_spec.rb b/Library/Homebrew/test/rubocops/formula_desc_spec.rb index 9aa51fe936..923768edae 100644 --- a/Library/Homebrew/test/rubocops/formula_desc_spec.rb +++ b/Library/Homebrew/test/rubocops/formula_desc_spec.rb @@ -41,7 +41,7 @@ describe RuboCop::Cop::FormulaAudit::DescLength do url 'https://brew.sh/foo-1.0.tgz' desc 'Bar#{"bar" * 9}'\ '#{"foo" * 21}' - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Description is too long. "name: desc" should be less than 80 characters. Length is calculated as foo + desc. (currently 98) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Description is too long. "name: desc" should be less than 80 characters. Length is calculated as foo + desc. (currently 98) end RUBY end