Sha256: 94f37f517c2b9ac623fd56b640928ae60e0e0773c15fa25bb833b2d0847f2a06
Contents?: true
Size: 372 Bytes
Versions: 39
Compression:
Stored size: 372 Bytes
Contents
require File.expand_path("../../../base", __FILE__) require "vagrant/util/line_ending_helpers" describe Vagrant::Util::LineEndingHelpers do let(:klass) do Class.new do extend Vagrant::Util::LineEndingHelpers end end it "should convert DOS to unix-style line endings" do expect(klass.dos_to_unix("foo\r\nbar\r\n")).to eq("foo\nbar\n") end end
Version data entries
39 entries across 32 versions & 8 rubygems