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.4 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.2 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.1 test/rbbt/annotations/test_util.rb
rbbt-util-5.32.0 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.15 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.14 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.13 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.12 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.11 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.10 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.9 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.8 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.7 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.5 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.4 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.3 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.2 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.1 test/rbbt/annotations/test_util.rb
rbbt-util-5.31.0 test/rbbt/annotations/test_util.rb
rbbt-util-5.30.13 test/rbbt/annotations/test_util.rb