Sha256: ef1d8199553db090f2df51a6ed454e35f25b0e9f1a1538104c8e61a48bc73284

Contents?: true

Size: 384 Bytes

Versions: 9

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true
require 'gir_ffi_test_helper'

describe GirFFI::InfoExt::IUnresolvedInfo do
  let(:klass) do
    Class.new do
      include GirFFI::InfoExt::IUnresolvedInfo
    end
  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

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.11.1 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.11.0 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.10.2 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.10.1 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.10.0 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.10.0.pre1 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.9.5 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.9.4 test/gir_ffi/info_ext/i_unresolved_info_test.rb
gir_ffi-0.9.3 test/gir_ffi/info_ext/i_unresolved_info_test.rb