Made Ogg::Vorbis::Comments usable standalone, too.
[ruby-vorbistagger.git] / test / test_main.rb
index a4a14504d463f1bf3f91786fd7b28445b1f4c97b..817b59fbb6859784a04d0f2a4d8ad2a46afff5b6 100644 (file)
@@ -295,4 +295,9 @@ EOF
        ensure
                FileUtils.rm_f("test/foo.bar")
        end
+
+       def test_standalone_comments_object
+               o = Ogg::Vorbis::Comments.new
+               assert_equal(o.length, 0);
+       end
 end