Skip to content

Commit

Permalink
(maint) Remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
zaphod42 committed Jun 12, 2014
1 parent a1e18c8 commit 1bbbbb7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spec/unit/pops/types/type_calculator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -814,15 +814,6 @@ class Foo
calculator.assignable?(tuple2, tuple1).should == false
end

it 'accepts an empty tuple as assignable to a tuple with a min size of 0' do
tuple1 = tuple_t(Object)
factory.constrain_size(tuple1, 0, :default)
tuple2 = tuple_t()

calculator.assignable?(tuple1, tuple2).should == true
calculator.assignable?(tuple2, tuple1).should == false
end

it 'should accept matching tuples' do
tuple1 = tuple_t(1,2)
tuple2 = tuple_t(Integer,Integer)
Expand Down

0 comments on commit 1bbbbb7

Please sign in to comment.