Fix spacing and indentation.

This commit is contained in:
Markus Reiter 2016-10-14 20:33:16 +02:00
parent 2b7e6c1dcb
commit ad8ae33c1f
27 changed files with 646 additions and 646 deletions

View File

@ -91,7 +91,7 @@ module Hbc
end
# unnecessary DMG metadata
DMG_METADATA_FILES = %w[
DMG_METADATA_FILES = Set.new %w[
.background
.com.apple.timemachine.donotpresent
.com.apple.timemachine.supported
@ -103,7 +103,7 @@ module Hbc
.TemporaryItems
.Trashes
.VolumeIcon.icns
].to_set.freeze
].freeze
def dmg_metadata?(path)
relative_root = path.sub(%r{/.*}, "")

View File

@ -11,7 +11,7 @@ describe Locale do
context "raises a ParserError when given" do
it "an empty string" do
expect{ described_class.parse("") }.to raise_error(Locale::ParserError)
expect { described_class.parse("") }.to raise_error(Locale::ParserError)
end
it "a string in a wrong format" do