diff options
Diffstat (limited to 'spec/ffi/library_spec.rb')
-rw-r--r-- | spec/ffi/library_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ffi/library_spec.rb b/spec/ffi/library_spec.rb index c9542b9..14a8bc1 100644 --- a/spec/ffi/library_spec.rb +++ b/spec/ffi/library_spec.rb @@ -204,7 +204,7 @@ describe "Library" do fun = mod.attached_functions expect(fun.keys).to eq(["bool_return_true"]) expect(fun["bool_return_true"].param_types).to eq([FFI::Type::STRING]) - expect(fun["bool_return_true"].result_type).to eq(FFI::Type::BOOL) + expect(fun["bool_return_true"].return_type).to eq(FFI::Type::BOOL) end end |