Sha256: cfb0b0c8477215010c84ad843cfe6599205301114e2750342db633e99819a183
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
require "spec_helper" describe Albacore::Support::Platform do it "should quote strings" do Albacore::Support::Platform.quote("test").should eq("\"test\"") end it "should double-backslash Windows paths" do Albacore::Support::Platform.windows_path("a/windows/path").should eq("a\\windows\\path") end it "should single-forwardslash Linux paths" do Albacore::Support::Platform.linux_path("a\\linux\\path").should eq("a/linux/path") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | spec/platform_spec.rb |
albacore-1.0.0.rc.3 | spec/platform_spec.rb |