Sha256: 97ae53f5f0eaac57fec8ccd5928a60c249e2b063a819a32e7fa39ed2cfcab2e0
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
$:.unshift File.expand_path('..', __FILE__) require 'samples' require 'ipfs-api' include IPFS class CommandIdTest < Minitest::Test def test_id ipfs = Connection.new id = ipfs.id if id.start_with?('Qm') assert_equal 46, id.size else assert_equal 52, id.size end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ipfs-api-0.4.0 | test/test_cmd_id.rb |