Revision
767
Author
eloy.de.enige@gmail.com
Date
2008-12-23 02:57:32 -0800 (Tue, 23 Dec 2008)

Log Message

Initial commit of a test suite of known bugs, which may or may not be MacRuby only. Added YAML.load test case.

Added Paths

Diff

Added: MacRuby/trunk/test-macruby/known_bugs.rb (0 => 767)


--- MacRuby/trunk/test-macruby/known_bugs.rb	                        (rev 0)
+++ MacRuby/trunk/test-macruby/known_bugs.rb	2008-12-23 10:57:32 UTC (rev 767)
@@ -0,0 +1,15 @@
+#!/usr/local/bin/macruby
+
+require "test/unit"
+
+module KnownBugs
+  class TestYaml < Test::Unit::TestCase
+    require "yaml"
+    class IDontWantToCrash; end
+    
+    def test_load_non_native_classes
+      data = YAML.dump(IDontWantToCrash.new)
+      assert_nothing_raised { YAML.load(data) }
+    end
+  end
+end
\ No newline at end of file