aboutsummaryrefslogtreecommitdiffstats
path: root/test/net/protocol/test_protocol.rb
blob: 5fe302301553f6783f20f1c25e1f879c0389e2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
require "test/unit"
require "net/protocol"
require "stringio"

class TestProtocol < Test::Unit::TestCase
  def test_each_crlf_line
    assert_output('', '') do
      Net::InternetMessageIO.new(StringIO.new("")).write_message("\u3042\r\n\u3044\r\n\u3046")
    end
  end
end