cask: fewer GitHub Actions warnings. #31851
Annotations
7 errors
|
Run brew tests:
usr/local/Homebrew/Library/Homebrew/test/cask/download_spec.rb#L44
Cask::Download#verify_download_integrity when the expected checksum is empty outputs an error
Failure/Error: subject(:verification) { described_class.new(cask).verify_download_integrity(downloaded_path) }
LocalJumpError:
no block given (yield)
|
Run brew tests:
usr/local/Homebrew/Library/Homebrew/test/cask/download_spec.rb#L52
Cask::Download#verify_download_integrity when expected and computed checksums do not match raises an error
Failure/Error: expect { verification }.to raise_error ChecksumMismatchError
expected ChecksumMismatchError, got #<LocalJumpError: no block given (yield)> with backtrace:
# ./cask/download.rb:85:in `verify_download_integrity'
# ./test/cask/download_spec.rb:5:in `block (3 levels) in <top (required)>'
# ./test/cask/download_spec.rb:53:in `block (5 levels) in <top (required)>'
# ./test/cask/download_spec.rb:53:in `block (4 levels) in <top (required)>'
# ./test/support/helper/spec/shared_context/homebrew_cask.rb:64:in `block (2 levels) in <top (required)>'
|
Run brew tests:
usr/local/Homebrew/Library/Homebrew/test/cask/download_spec.rb#L20
Cask::Download#verify_download_integrity when the expected checksum is :no_check skips the check
Failure/Error: subject(:verification) { described_class.new(cask).verify_download_integrity(downloaded_path) }
LocalJumpError:
no block given (yield)
|
Run brew tests:
usr/local/Homebrew/Library/Homebrew/test/cask/download_spec.rb#L36
Cask::Download#verify_download_integrity when the expected checksum is nil outputs an error
Failure/Error: subject(:verification) { described_class.new(cask).verify_download_integrity(downloaded_path) }
LocalJumpError:
no block given (yield)
|
Run brew tests:
usr/local/Homebrew/Library/Homebrew/test/cask/download_spec.rb#L28
Cask::Download#verify_download_integrity when expected and computed checksums match does not raise an error
Failure/Error: expect { verification }.not_to raise_error
expected no Exception, got #<LocalJumpError: no block given (yield)> with backtrace:
# ./cask/download.rb:85:in `verify_download_integrity'
# ./test/cask/download_spec.rb:5:in `block (3 levels) in <top (required)>'
# ./test/cask/download_spec.rb:29:in `block (5 levels) in <top (required)>'
# ./test/cask/download_spec.rb:29:in `block (4 levels) in <top (required)>'
# ./test/support/helper/spec/shared_context/homebrew_cask.rb:64:in `block (2 levels) in <top (required)>'
|
Run brew tests
The operation was canceled.
|
Loading