test/test_gimchi.rb in gimchi-0.2.0 vs test/test_gimchi.rb in gimchi-0.2.1
- old
+ new
@@ -224,6 +224,10 @@
assert_equal nil, ret[1]
assert_equal nil, ret[2]
assert_equal 'ㅋ', Gimchi.compose(*ret)
end
+
+ def test_singleton
+ assert_raise(NoMethodError) { Gimchi.new }
+ end
end