summaryrefslogtreecommitdiff
path: root/spec/ffi/struct_by_ref_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ffi/struct_by_ref_spec.rb')
-rw-r--r--spec/ffi/struct_by_ref_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ffi/struct_by_ref_spec.rb b/spec/ffi/struct_by_ref_spec.rb
index 0f48fbb..0c01137 100644
--- a/spec/ffi/struct_by_ref_spec.rb
+++ b/spec/ffi/struct_by_ref_spec.rb
@@ -42,6 +42,7 @@ describe FFI::Struct, ' by_ref' do
it "can reveal the mapped type converter" do
param_type = @api.attached_functions["struct_test"].param_types[0]
+ expect(param_type).to be_a(FFI::Type::Mapped)
expect(param_type.converter).to be_a(FFI::StructByReference)
end
end