Fix diagnostic_spec

The test case needs to be adjusted for the new diagnostic output.
This commit is contained in:
Carlo Cabrera 2021-10-21 21:05:51 +08:00
parent b0939478d1
commit b040775e16
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -38,7 +38,7 @@ describe Homebrew::Diagnostic::Checks do
stub_const("RUBY_VERSION", "1.8.6")
expect(checks.check_ruby_version)
.to match "Ruby version 1.8.6 is unsupported on 10.12"
.to match "Ruby version 1.8.6 is unsupported on macOS 10.12"
end
describe "#check_if_supported_sdk_available" do