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.30.12 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.11 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.10 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.9 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.8 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.7 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.6 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.5 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.4 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.3 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.2 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.1 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.0 test/rbbt/annotations/test_util.rb
rbbt-util-5.29.4 test/rbbt/annotations/test_util.rb
rbbt-util-5.29.2 test/rbbt/annotations/test_util.rb
rbbt-util-5.29.1 test/rbbt/annotations/test_util.rb
rbbt-util-5.29.0 test/rbbt/annotations/test_util.rb
rbbt-util-5.28.14 test/rbbt/annotations/test_util.rb
rbbt-util-5.28.12 test/rbbt/annotations/test_util.rb
rbbt-util-5.28.11 test/rbbt/annotations/test_util.rb