Sha256: bf51f0c7629180b24e53589d30edbcf3a3e5339bf0737124fcf3ed38c345131e

Contents?: true

Size: 345 Bytes

Versions: 32

Compression:

Stored size: 345 Bytes

Contents

# -*- coding: utf-8 -*-
require File.expand_path 'test_helper', File.dirname(__FILE__)

class TestTCo < MiniTest::Test

  def setup
    @client = Tw::Client.new
    @client.auth
  end

  def test_t_co_char_length
    msg = "blog書いた → http://shokai.org/blog/archives/6513"
    assert msg.char_length > msg.char_length_with_t_co
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
tw-1.3.1 test/test_t_co.rb
tw-1.3.0 test/test_t_co.rb
tw-1.2.1 test/test_t_co.rb
tw-1.2.0 test/test_t_co.rb
tw-1.1.1 test/test_t_co.rb
tw-1.1.0 test/test_t_co.rb
tw-1.0.12 test/test_t_co.rb
tw-1.0.11 test/test_t_co.rb
tw-1.0.10 test/test_t_co.rb
tw-1.0.9 test/test_t_co.rb
tw-1.0.8 test/test_t_co.rb
tw-1.0.7 test/test_t_co.rb
tw-1.0.6 test/test_t_co.rb
tw-1.0.5 test/test_t_co.rb
tw-1.0.4 test/test_t_co.rb
tw-1.0.3 test/test_t_co.rb
tw-1.0.2 test/test_t_co.rb
tw-1.0.1 test/test_t_co.rb
tw-1.0.0 test/test_t_co.rb
tw-0.5.2 test/test_t_co.rb