test/tc_bencode.rb in bencode-0.1.0 vs test/tc_bencode.rb in bencode-0.3.0
- old
+ new
@@ -1,6 +1,7 @@
-require 'unit/test'
+require 'test/unit'
+require 'rubygems'
require 'bencode'
class BencodeTest < Test::Unit::TestCase
def test_string
assert_equal "3:foo", "foo".bencode