diff options
| author | Jack Nagel | 2014-08-13 17:13:27 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-13 17:14:55 -0500 |
| commit | eed8af9b80979fcdd55dc44c963392dc84e63d4f (patch) | |
| tree | 359e02a8cc4d014712f915fa24e41e5dc9457b1d /Library/Homebrew/test/test_options.rb | |
| parent | e40143efd535f36a6c26753b286790fc857f94a6 (diff) | |
| download | brew-eed8af9b80979fcdd55dc44c963392dc84e63d4f.tar.bz2 | |
Drop unnecessary parens in tests
Diffstat (limited to 'Library/Homebrew/test/test_options.rb')
| -rw-r--r-- | Library/Homebrew/test/test_options.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_options.rb b/Library/Homebrew/test/test_options.rb index e10a7e969..3f7d8d6c8 100644 --- a/Library/Homebrew/test/test_options.rb +++ b/Library/Homebrew/test/test_options.rb @@ -70,15 +70,15 @@ class OptionsTests < Homebrew::TestCase end def test_union_returns_options - assert_instance_of Options, (@options + Options.new) + assert_instance_of Options, @options + Options.new end def test_difference_returns_options - assert_instance_of Options, (@options - Options.new) + assert_instance_of Options, @options - Options.new end def test_shovel_returns_self - assert_same @options, (@options << Option.new("foo")) + assert_same @options, @options << Option.new("foo") end def test_as_flags |
