Sha256: 3fcaee567bce249ad9b8e383e70906a174b604d675bb261063fdbed5cd6ac421

Contents?: true

Size: 333 Bytes

Versions: 10

Compression:

Stored size: 333 Bytes

Contents

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

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

    assert_equal a, Marshal.load(Marshal.dump(a))
    assert_equal Marshal.dump("STRING"), Marshal.dump(a)

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rbbt-util-5.8.10 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.9 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.8 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.7 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.6 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.4 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.3 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.2 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.1 test/rbbt/annotations/test_util.rb
rbbt-util-5.8.0 test/rbbt/annotations/test_util.rb