Skip to content

Commit

Permalink
Remove unused strcat() mapping in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis committed Jun 5, 2020
1 parent 81dad3c commit cc32fd0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/ffi/rbx/memory_pointer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@

require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))

module CTest
extend FFI::Library
ffi_lib FFI::Library::LIBC

attach_function :strcat, [:pointer, :pointer], :pointer
end

describe "MemoryPointer" do
it "makes a pointer from a string" do
m = FFI::MemoryPointer.from_string("FFI is Awesome")
Expand Down

0 comments on commit cc32fd0

Please sign in to comment.