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 1b8e8c1..9bbbd6c 100644 --- a/spec/ffi/library_spec.rb +++ b/spec/ffi/library_spec.rb @@ -381,7 +381,7 @@ describe "Library" do lib = Module.new do |m| m.extend FFI::Library ffi_lib TestLibrary::PATH - attach_variable :gvaro, "gvar_u32", :uint32 + attach_variable "gvaro", "gvar_u32", :uint32 end expect(lib.attached_variables).to eq({ gvaro: FFI::Type::UINT32 }) end |