From 57b192fa5aad3db05e4136ab2d4beb6488a94351 Mon Sep 17 00:00:00 2001 From: David McIntosh <804610+mctofu@users.noreply.github.com> Date: Thu, 18 Nov 2021 16:45:50 -0800 Subject: [PATCH] Enable retracted module test go list -m properly handles retractions so this test is now passing --- .../go_modules/update_checker/latest_version_finder_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go_modules/spec/dependabot/go_modules/update_checker/latest_version_finder_spec.rb b/go_modules/spec/dependabot/go_modules/update_checker/latest_version_finder_spec.rb index 6aeeb067aa..ef1223cadc 100644 --- a/go_modules/spec/dependabot/go_modules/update_checker/latest_version_finder_spec.rb +++ b/go_modules/spec/dependabot/go_modules/update_checker/latest_version_finder_spec.rb @@ -212,7 +212,7 @@ module foobar # latest release v1.0.1 is retracted let(:dependency_name) { "github.com/dependabot-fixtures/go-modules-retracted" } - pending "doesn't return the retracted version" do + it "doesn't return the retracted version" do expect(finder.latest_version).to eq(Dependabot::GoModules::Version.new("1.0.0")) end end