Sha256: 50014185b3d95d71fef03ec4f54a917ccbacabe51f3527e6c6d1d909df5dd978

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

require 'gir_ffi_test_helper'

describe GirFFI::InfoExt::IUnresolvedInfo do
  let(:klass) {
    Class.new do
      include GirFFI::InfoExt::IUnresolvedInfo
    end
  }

  let(:unresolved_info) { klass.new }

  describe '#to_ffi_type' do
    it 'returns the most generic type' do
      unresolved_info.to_ffi_type.must_equal :pointer
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.7.10 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.7.9 test/gir_ffi/info_ext/i_unresolved_info_test.rb