Sha256: 57bcacdb7ec6ac7ce372320a9078184fbc340128843a44e95783c34dab38ec66
Contents?: true
Size: 265 Bytes
Versions: 4
Compression:
Stored size: 265 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.15.3 | test/ffi-glib/variant_test.rb |
gir_ffi-0.15.2 | test/ffi-glib/variant_test.rb |
gir_ffi-0.15.1 | test/ffi-glib/variant_test.rb |
gir_ffi-0.15.0 | test/ffi-glib/variant_test.rb |