diff options
Diffstat (limited to 'spec/ffi/variadic_spec.rb')
-rw-r--r-- | spec/ffi/variadic_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ffi/variadic_spec.rb b/spec/ffi/variadic_spec.rb index 21a803f..4d3f1c2 100644 --- a/spec/ffi/variadic_spec.rb +++ b/spec/ffi/variadic_spec.rb @@ -40,7 +40,7 @@ describe "Function with variadic arguments" do end it "can reveal its return and parameters" do - fun = LibTest.attached_functions["testBlockingWRva"] + fun = LibTest.attached_functions[:testBlockingWRva] expect(fun.param_types).to eq([FFI::Type::POINTER, FFI::Type::CHAR, FFI::Type::VARARGS]) expect(fun.return_type).to eq(FFI::Type::INT8) end |