projects
/
ruby-vorbistagger.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4588ced
)
Split MainTest#test_modify_key into two smaller tests.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 11 Aug 2006 14:50:16 +0000
(16:50 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 23 Aug 2006 17:33:24 +0000
(19:33 +0200)
test/test_main.rb
patch
|
blob
|
history
diff --git
a/test/test_main.rb
b/test/test_main.rb
index cdcf0d8f8a7a13b601502afc34e63741fd40f9ec..5c6457b8c54a181fff35c680428767f5f9b3f440 100644
(file)
--- a/
test/test_main.rb
+++ b/
test/test_main.rb
@@
-207,12
+207,16
@@
EOF
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