Sha256: 9b0b8e0e9bdeeae18fa671f16b83c6553bd3fee58ad6a72399dcf513f700fb4c

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true
require 'gir_ffi_test_helper'

describe GLib::Variant do
  describe '#get_string' do
    it 'returns just the contained string' do
      var = GLib::Variant.new_string('Foo')
      var.get_string.must_equal 'Foo'
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.11.1 test/ffi-glib/variant_test.rb
gir_ffi-0.11.0 test/ffi-glib/variant_test.rb
gir_ffi-0.10.2 test/ffi-glib/variant_test.rb
gir_ffi-0.10.1 test/ffi-glib/variant_test.rb
gir_ffi-0.10.0 test/ffi-glib/variant_test.rb
gir_ffi-0.10.0.pre1 test/ffi-glib/variant_test.rb
gir_ffi-0.9.5 test/ffi-glib/variant_test.rb
gir_ffi-0.9.4 test/ffi-glib/variant_test.rb
gir_ffi-0.9.3 test/ffi-glib/variant_test.rb