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.32.27 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.26 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.25 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.24 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.23 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.22 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.21 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.20 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.18 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.17 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.16 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.15 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.13 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.12 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.11 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.10 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.9 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.7 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.6 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.5 test/rbbt/annotations/test_util.rb