From 16bdd423089f5fa307b4b87a8868bd4598237fdf Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 25 Feb 2022 15:26:37 +0000 Subject: [PATCH] cask/dsl/version_spec: remove deprecated specs. No idea why these didn't fail before now? --- Library/Homebrew/test/cask/dsl/version_spec.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Library/Homebrew/test/cask/dsl/version_spec.rb b/Library/Homebrew/test/cask/dsl/version_spec.rb index d2b46c47ad..130e757b14 100644 --- a/Library/Homebrew/test/cask/dsl/version_spec.rb +++ b/Library/Homebrew/test/cask/dsl/version_spec.rb @@ -170,22 +170,6 @@ describe Cask::DSL::Version, :cask do "1.2.3,abc" => "abc" 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 include_examples "version expectations hash", :dots_to_hyphens, "1.2.3_4-5" => "1-2-3_4-5"