assert_equal(-1, a <=> b)
end
- def test_modify_key
+ def test_modify_existing_key
Ogg::Vorbis::Tagger.open(@ogg_buf) do |t|
assert_raises(TypeError) do
t.comments.keys.first.replace("new")
end
+ end
+ end
+ def test_modify_added_key
+ Ogg::Vorbis::Tagger.open(@ogg_buf) do |t|
t.comments["Foo"] = "Bar"
assert_raises(TypeError) do