Skip to content

Commit

Permalink
Combine specs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Jun 14, 2018
1 parent 3fdf734 commit 2895c91
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions spec/truffle/interop/special_forms_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,10 @@
end

it "works with boxed primitives" do
boxed = Truffle::Debug.foreign_boxed_number(14)
boxed.is_a?(Integer).should be_true
end

it "works with boxed primitives" do
boxed = Truffle::Debug.foreign_boxed_number(14.2)
boxed.is_a?(Float).should be_true
boxed_integer = Truffle::Debug.foreign_boxed_number(14)
boxed_integer.is_a?(Integer).should be_true
boxed_double = Truffle::Debug.foreign_boxed_number(14.2)
boxed_double.is_a?(Float).should be_true
end

end
Expand Down

0 comments on commit 2895c91

Please sign in to comment.