Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/truffle/specs/truffle/primitive/assert_constant_spec.rb
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@
end

unless Truffle.graal?
it "returns nil" do
Truffle::Primitive.assert_constant(14 + 2).should be_nil
it "returns the value of the argument" do
Truffle::Primitive.assert_constant(14 + 2).should == 16
end
end

0 comments on commit ef0231a

Please sign in to comment.