Sha256: 7322f6119f635057c7f80402877b40efebc28f55a11b3223294558357b373a88

Contents?: true

Size: 338 Bytes

Versions: 84

Compression:

Stored size: 338 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb')
require 'rbbt/annotations'

class TestAnnotation < Test::Unit::TestCase
  def test_marshal
    a = "STRING"
    a.extend Annotated

    assert !(Annotated === Marshal.load(Marshal.dump(a)))
    assert_equal a, Marshal.load(Marshal.dump(a))
  end
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
rbbt-util-5.27.3 test/rbbt/annotations/test_util.rb
rbbt-util-5.27.2 test/rbbt/annotations/test_util.rb
rbbt-util-5.27.1 test/rbbt/annotations/test_util.rb
rbbt-util-5.27.0 test/rbbt/annotations/test_util.rb