Sha256: 09b18edcc07843b4a9357a865cd7bd24d816a93b870ef8583c33101129097f38

Contents?: true

Size: 170 Bytes

Versions: 3

Compression:

Stored size: 170 Bytes

Contents

# encoding: utf-8
require 'environment'

describe "encoding" do
  it_should_encode "i42e", 42
  it_should_encode "3:foo", "foo"
  it_should_encode "5:café", "café"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bencode-1.0.0 test/encoding_test.rb
bencode-0.8.2 test/encoding_test.rb
bencode-0.8.1 test/encoding_test.rb