aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_tab.rb
diff options
context:
space:
mode:
authorBrewTestBot2015-08-03 13:09:07 +0100
committerMike McQuaid2015-08-03 13:22:35 +0100
commit13d544e11e92ba8ea3788723432046f8dfe4adf9 (patch)
treee6da18436d9ce956e6fbe80e3185c67cf3b58808 /Library/Homebrew/test/test_tab.rb
parent3b68215be793774fafd9ce124a2065f5968f50e5 (diff)
downloadbrew-13d544e11e92ba8ea3788723432046f8dfe4adf9.tar.bz2
Core files style updates.
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/test/test_tab.rb')
-rw-r--r--Library/Homebrew/test/test_tab.rb34
1 files changed, 16 insertions, 18 deletions
diff --git a/Library/Homebrew/test/test_tab.rb b/Library/Homebrew/test/test_tab.rb
index af537267c..453f8984c 100644
--- a/Library/Homebrew/test/test_tab.rb
+++ b/Library/Homebrew/test/test_tab.rb
@@ -4,24 +4,22 @@ require "formula"
class TabTests < Homebrew::TestCase
def setup
- @used = Options.create(%w(--with-foo --without-bar))
- @unused = Options.create(%w(--with-baz --without-qux))
-
- @tab = Tab.new({
- "used_options" => @used.as_flags,
- "unused_options" => @unused.as_flags,
- "built_as_bottle" => false,
- "poured_from_bottle" => true,
- "time" => nil,
- "HEAD" => TEST_SHA1,
- "compiler" => "clang",
- "stdlib" => "libcxx",
- "source" => {
- "tap" => "Homebrew/homebrew",
- "path" => nil,
- "spec" => "stable",
- },
- })
+ @used = Options.create(%w[--with-foo --without-bar])
+ @unused = Options.create(%w[--with-baz --without-qux])
+
+ @tab = Tab.new("used_options" => @used.as_flags,
+ "unused_options" => @unused.as_flags,
+ "built_as_bottle" => false,
+ "poured_from_bottle" => true,
+ "time" => nil,
+ "HEAD" => TEST_SHA1,
+ "compiler" => "clang",
+ "stdlib" => "libcxx",
+ "source" => {
+ "tap" => "Homebrew/homebrew",
+ "path" => nil,
+ "spec" => "stable"
+ })
end
def test_defaults