Fix spacing and indentation.
This commit is contained in:
parent
2b7e6c1dcb
commit
ad8ae33c1f
@ -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{/.*}, "")
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user