Sha256: 1b0254a7cc50323c471b5959a02e1925c4b75a0a55164525072f6869268bef3e
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true require 'test_helper' describe Gtk::TargetEntry do describe '.new' do it 'takes and uses three arguments' do entry = Gtk::TargetEntry.new('foo', 3, 42) _(entry.target).must_equal 'foo' _(entry.flags).must_equal 3 _(entry.info).must_equal 42 end it 'allows symbol values for the second argument' do entry = Gtk::TargetEntry.new('foo', :same_app, 42) _(entry.target).must_equal 'foo' _(entry.flags).must_equal 1 _(entry.info).must_equal 42 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-gtk-0.15.0 | test/gir_ffi-gtk/target_entry_test.rb |