File: crlf.rb

package info (click to toggle)
ruby-ftw 0.0.49-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: ruby: 1,922; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
require File.join(File.expand_path(__FILE__).sub(/\/ftw\/.*/, "/testing"))
require "ftw/crlf"

describe FTW::CRLF do
  test "CRLF is as expected" do
    class Foo
      include FTW::CRLF
    end

    assert_equal("\r\n", Foo::CRLF)
  end
end