Merge pull request #1777 from alyssais/tests_tab_version
tests: remove temporary tab homebrew_version override
This commit is contained in:
commit
98dadd907e
@ -168,6 +168,7 @@ class Tab < OpenStruct
|
||||
|
||||
def self.empty
|
||||
attributes = {
|
||||
"homebrew_version" => HOMEBREW_VERSION,
|
||||
"used_options" => [],
|
||||
"unused_options" => [],
|
||||
"built_as_bottle" => false,
|
||||
|
@ -33,10 +33,7 @@ class TabTests < Homebrew::TestCase
|
||||
def test_defaults
|
||||
tab = Tab.empty
|
||||
|
||||
# FIXME: remove this line after Homebrew 1.1.6 is released.
|
||||
# See https://github.com/Homebrew/brew/pull/1750#discussion_r94254622
|
||||
tab.homebrew_version = "1.1.6"
|
||||
|
||||
assert_equal HOMEBREW_VERSION, tab.homebrew_version
|
||||
assert_empty tab.unused_options
|
||||
assert_empty tab.used_options
|
||||
assert_nil tab.changed_files
|
||||
@ -199,10 +196,6 @@ class TabTests < Homebrew::TestCase
|
||||
stdlib = :libcxx
|
||||
tab = Tab.create(f, compiler, stdlib)
|
||||
|
||||
# FIXME: remove this line after Homebrew 1.1.6 is released.
|
||||
# See https://github.com/Homebrew/brew/pull/1750#discussion_r94254622
|
||||
tab.homebrew_version = "1.1.6"
|
||||
|
||||
runtime_dependencies = [
|
||||
{ "full_name" => "bar", "version" => "2.0" },
|
||||
{ "full_name" => "user/repo/from_tap", "version" => "1.0" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user