Sha256: 24a990027136e2503337933f0d5a5129252dffac813523621375f9fc8dcd2788

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

# -*- coding: utf-8 -*-
require File.dirname(__FILE__) + '/test_helper.rb'

class TestTCo < Test::Unit::TestCase

  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

5 entries across 5 versions & 1 rubygems

Version Path
tw-0.3.7 test/test_t_co.rb
tw-0.3.6 test/test_t_co.rb
tw-0.3.5 test/test_t_co.rb
tw-0.3.4 test/test_t_co.rb
tw-0.3.3 test/test_t_co.rb