diff --git a/Library/Homebrew/extend/kernel.rb b/Library/Homebrew/extend/kernel.rb index f48cd57ab8..a70637fb25 100644 --- a/Library/Homebrew/extend/kernel.rb +++ b/Library/Homebrew/extend/kernel.rb @@ -1,6 +1,7 @@ # typed: false # frozen_string_literal: true +# Contains shorthand Homebrew utility methods like `ohai`, `opoo`, `odisabled`. module Kernel extend T::Sig diff --git a/Library/Homebrew/test/style_spec.rb b/Library/Homebrew/test/style_spec.rb index 9867bc1e19..227b09b840 100644 --- a/Library/Homebrew/test/style_spec.rb +++ b/Library/Homebrew/test/style_spec.rb @@ -40,7 +40,7 @@ describe Homebrew::Style do describe ".check_style_and_print" do let(:dir) { mktmpdir } - it "returns false for conforming file with only audit-level violations" do + it "returns true (success) for conforming file with only audit-level violations" do # This file is known to use non-rocket hashes and other things that trigger audit, # but not regular, cop violations target_file = HOMEBREW_LIBRARY_PATH/"utils.rb"