diff options
| author | Mike McQuaid | 2017-05-29 18:24:52 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-05-29 18:43:18 +0100 |
| commit | 7a38bab333c6808022fe53aac2be9ca2e329cd53 (patch) | |
| tree | bbc05eebc29bdb6d539cd0e9d197b3762b49ffce /Library/Homebrew/test/pathname_spec.rb | |
| parent | 4356016b4a1c2eaba02680b4ad7f1747d2df53bf (diff) | |
| download | brew-7a38bab333c6808022fe53aac2be9ca2e329cd53.tar.bz2 | |
Fixup all RuboCop warnings.
Diffstat (limited to 'Library/Homebrew/test/pathname_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/pathname_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/pathname_spec.rb b/Library/Homebrew/test/pathname_spec.rb index 77cb6cfed..0bc19c5ac 100644 --- a/Library/Homebrew/test/pathname_spec.rb +++ b/Library/Homebrew/test/pathname_spec.rb @@ -104,7 +104,7 @@ describe Pathname do end it "preserves permissions" do - File.open(file, "w", 0100777).close + File.open(file, "w", 0100777) {} file.atomic_write("CONTENT") expect(file.stat.mode).to eq(0100777 & ~File.umask) end |
