about summary refs log tree commit homepage
path: root/test/test_mwrap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_mwrap.rb')
-rw-r--r--test/test_mwrap.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_mwrap.rb b/test/test_mwrap.rb
index 3de9c1b..d76e4da 100644
--- a/test/test_mwrap.rb
+++ b/test/test_mwrap.rb
@@ -155,4 +155,8 @@ class TestMwrap < Test::Unit::TestCase
     warn Benchmark::Tms::CAPTION
     warn r.read
   end if ENV['BENCHMARK']
+
+  def test_mwrap_dump_check
+    assert_raise(TypeError) { Mwrap.dump(:bogus) }
+  end
 end