diff options
| author | Maxim Belkin | 2018-02-21 13:44:51 +0000 | 
|---|---|---|
| committer | Maxim Belkin | 2018-02-21 13:44:51 +0000 | 
| commit | c83dd0d04b857161b47a43b54ba56c7296ac50c0 (patch) | |
| tree | 286b646fc89a86c26c16b0fbd7413e9fae7c6ef5 | |
| parent | 14d7a7a08c9aab7db14ea03f59ec85899e5e3ba6 (diff) | |
| download | brew-c83dd0d04b857161b47a43b54ba56c7296ac50c0.tar.bz2 | |
brew style: replace tabs with spaces
| -rw-r--r-- | Library/Homebrew/test/os/linux/dependency_collector_spec.rb | 36 | 
1 files changed, 18 insertions, 18 deletions
| diff --git a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb index 5771fd59a..543ed39b0 100644 --- a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb +++ b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb @@ -12,41 +12,41 @@ describe DependencyCollector do      context "when xz, zip, and bzip2 are not available" do        it "creates a resource dependency from a '.xz' URL" do -	resource.url("http://example.com/foo.xz") -	allow_any_instance_of(Object).to receive(:which).with("xz") -	expect(subject.add(resource)).to eq(Dependency.new("xz", [:build])) +        resource.url("http://example.com/foo.xz") +        allow_any_instance_of(Object).to receive(:which).with("xz") +        expect(subject.add(resource)).to eq(Dependency.new("xz", [:build]))        end        it "creates a resource dependency from a '.zip' URL" do -	resource.url("http://example.com/foo.zip") -	allow_any_instance_of(Object).to receive(:which).with("zip") -	expect(subject.add(resource)).to eq(Dependency.new("zip", [:build])) +        resource.url("http://example.com/foo.zip") +        allow_any_instance_of(Object).to receive(:which).with("zip") +        expect(subject.add(resource)).to eq(Dependency.new("zip", [:build]))        end        it "creates a resource dependency from a '.bz2' URL" do -	resource.url("http://example.com/foo.tar.bz2") -	allow_any_instance_of(Object).to receive(:which).with("bzip2") -	expect(subject.add(resource)).to eq(Dependency.new("bzip2", [:build])) +        resource.url("http://example.com/foo.tar.bz2") +        allow_any_instance_of(Object).to receive(:which).with("bzip2") +        expect(subject.add(resource)).to eq(Dependency.new("bzip2", [:build]))        end      end      context "when xz, zip, and bzip2 are available" do        it "does not create a resource dependency from a '.xz' URL" do -	resource.url("http://example.com/foo.xz") -	allow_any_instance_of(Object).to receive(:which).with("xz").and_return(Pathname.new("foo")) -	expect(subject.add(resource)).to be nil +        resource.url("http://example.com/foo.xz") +        allow_any_instance_of(Object).to receive(:which).with("xz").and_return(Pathname.new("foo")) +        expect(subject.add(resource)).to be nil        end        it "does not create a resource dependency from a '.zip' URL" do -	resource.url("http://example.com/foo.zip") -	allow_any_instance_of(Object).to receive(:which).with("zip").and_return(Pathname.new("foo")) -	expect(subject.add(resource)).to be nil +        resource.url("http://example.com/foo.zip") +        allow_any_instance_of(Object).to receive(:which).with("zip").and_return(Pathname.new("foo")) +        expect(subject.add(resource)).to be nil        end        it "does not create a resource dependency from a '.bz2' URL" do -	resource.url("http://example.com/foo.tar.bz2") -	allow_any_instance_of(Object).to receive(:which).with("bzip2").and_return(Pathname.new("foo")) -	expect(subject.add(resource)).to be nil +        resource.url("http://example.com/foo.tar.bz2") +        allow_any_instance_of(Object).to receive(:which).with("bzip2").and_return(Pathname.new("foo")) +        expect(subject.add(resource)).to be nil        end      end    end | 
