Skip to content

Commit 286671a

Browse files
committed
Remove extra to_display_string, clarify how the spec works
1 parent fef36d4 commit 286671a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/truffle/interop/special_forms_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@
197197

198198
it description['.class', :getMetaObject] do
199199
pfo, _, l = proxy[Truffle::Debug.foreign_object]
200+
# For Truffle::Debug.foreign_object, hasMetaObject() is false, so then .class returns Truffle::Interop::Foreign
200201
pfo.class.should == Truffle::Interop::Foreign
201-
Truffle::Interop.to_display_string(Truffle::Debug.foreign_object)
202202
l.log.should include(["hasMetaObject"])
203203
end
204204

0 commit comments

Comments
 (0)