aboutsummaryrefslogtreecommitdiffstats
path: root/test/syck/test_class.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/syck/test_class.rb')
-rw-r--r--test/syck/test_class.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/syck/test_class.rb b/test/syck/test_class.rb
deleted file mode 100644
index 983cf4192c..0000000000
--- a/test/syck/test_class.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-require 'test/unit'
-require 'yaml'
-
-module Syck
- class TestClass < Test::Unit::TestCase
- def setup
- @engine = YAML::ENGINE.yamler
- YAML::ENGINE.yamler = 'syck'
- end
-
- def teardown
- YAML::ENGINE.yamler = @engine
- end
-
- def test_to_yaml
- assert_raises(::TypeError) do
- TestClass.to_yaml
- end
- end
-
- def test_dump
- assert_raises(::TypeError) do
- YAML.dump TestClass
- end
- end
- end
-end