Add language stanza to cask rubocops

Also fix the corresponding test
This commit is contained in:
Waldir Pimenta 2020-08-09 18:31:08 +01:00
parent 984e926d19
commit c66fa42efd
2 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,7 @@ module RuboCop
module Constants
STANZA_GROUPS = [
[:version, :sha256],
[:language],
[:url, :appcast, :name, :desc, :homepage],
[
:auto_updates,

View File

@ -5,7 +5,6 @@ cask "with-languages" do
sha256 "abc123"
"zh-CN"
end
language "en-US", default: true do
sha256 "xyz789"
"en-US"