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