Sha256: 8d7e6fd57578c5919296420de12eab25876639ed94adbb3d80b7f9b6840c30b4
Contents?: true
Size: 488 Bytes
Versions: 9
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true require 'gir_ffi_test_helper' describe GLib::ByteArray do it 'can succesfully be created with GLib::ByteArray.new' do ba = GLib::ByteArray.new assert_instance_of GLib::ByteArray, ba end it 'allows strings to be appended to it' do ba = GLib::ByteArray.new ba.append 'abdc' pass end it 'has a working #to_string method' do ba = GLib::ByteArray.new ba = ba.append 'abdc' assert_equal 'abdc', ba.to_string end end
Version data entries
9 entries across 9 versions & 1 rubygems