Fix code style.

This commit is contained in:
Markus Reiter 2018-11-13 05:04:35 +01:00
parent f858a17e96
commit cea9942a1d
2 changed files with 5 additions and 5 deletions

View File

@ -427,7 +427,7 @@ class ReporterHub
@hash.update(report) { |_key, oldval, newval| oldval.concat(newval) }
end
delegate :empty? => :@hash
delegate empty?: :@hash
def dump
# Key Legend: Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R)

View File

@ -5,10 +5,10 @@ require "test/support/helper/cask/install_helper"
require "test/support/helper/cask/never_sudo_system_command"
HOMEBREW_CASK_DIRS = {
:appdir => Pathname.new(TEST_TMPDIR).join("cask-appdir"),
:prefpanedir => Pathname.new(TEST_TMPDIR).join("cask-prefpanedir"),
:qlplugindir => Pathname.new(TEST_TMPDIR).join("cask-qlplugindir"),
:servicedir => Pathname.new(TEST_TMPDIR).join("cask-servicedir"),
appdir: Pathname.new(TEST_TMPDIR).join("cask-appdir"),
prefpanedir: Pathname.new(TEST_TMPDIR).join("cask-prefpanedir"),
qlplugindir: Pathname.new(TEST_TMPDIR).join("cask-qlplugindir"),
servicedir: Pathname.new(TEST_TMPDIR).join("cask-servicedir"),
}.freeze
RSpec.shared_context "Homebrew Cask", :needs_macos do