cask/dsl/version_spec: remove deprecated specs.

No idea why these didn't fail before now?
This commit is contained in:
Mike McQuaid 2022-02-25 15:26:37 +00:00
parent 377ac6475c
commit 16bdd42308
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -170,22 +170,6 @@ describe Cask::DSL::Version, :cask do
"1.2.3,abc" => "abc" "1.2.3,abc" => "abc"
end end
describe "#before_colon" do
include_examples "version expectations hash", :before_colon,
"1.2.3" => "1.2.3",
"1.2.3:" => "1.2.3",
":abc" => "",
"1.2.3:abc" => "1.2.3"
end
describe "#after_colon" do
include_examples "version expectations hash", :after_colon,
"1.2.3" => "",
"1.2.3:" => "",
":abc" => "abc",
"1.2.3:abc" => "abc"
end
describe "#dots_to_hyphens" do describe "#dots_to_hyphens" do
include_examples "version expectations hash", :dots_to_hyphens, include_examples "version expectations hash", :dots_to_hyphens,
"1.2.3_4-5" => "1-2-3_4-5" "1.2.3_4-5" => "1-2-3_4-5"