diff options
| author | Jack Nagel | 2014-08-13 11:09:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-13 11:09:57 -0500 |
| commit | 268cd143bef42acd82b52dd39ba05a3beda86275 (patch) | |
| tree | b2bf5f24c9a31451cd007415947f22c1aea7ba7e /Library/Homebrew/test/test_build_options.rb | |
| parent | 094c184b12b29c5978b3c669352991650fcba313 (diff) | |
| download | brew-268cd143bef42acd82b52dd39ba05a3beda86275.tar.bz2 | |
Replace Options.coerce with an alternate constructor
Diffstat (limited to 'Library/Homebrew/test/test_build_options.rb')
| -rw-r--r-- | Library/Homebrew/test/test_build_options.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_build_options.rb b/Library/Homebrew/test/test_build_options.rb index a0c52da81..7d2c952d9 100644 --- a/Library/Homebrew/test/test_build_options.rb +++ b/Library/Homebrew/test/test_build_options.rb @@ -4,8 +4,8 @@ require "options" class BuildOptionsTests < Homebrew::TestCase def setup - args = Options.coerce(%w(--with-foo --with-bar --without-qux)) - opts = Options.coerce(%w(--with-foo --with-bar --without-baz --without-qux)) + args = Options.create(%w(--with-foo --with-bar --without-qux)) + opts = Options.create(%w(--with-foo --with-bar --without-baz --without-qux)) @build = BuildOptions.new(args, opts) end |
