From 01fd1c482e6ca08c7598c951e6929ba55b4a8228 Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Wed, 7 Dec 2022 00:30:01 -0500 Subject: [PATCH] [rubygems/rubygems] Remove remaining dev profile test https://github.com/rubygems/rubygems/commit/7d50e998b3 --- test/rubygems/test_gem_ext_cargo_builder_unit.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/rubygems/test_gem_ext_cargo_builder_unit.rb b/test/rubygems/test_gem_ext_cargo_builder_unit.rb index 4484f48ca9..dc9350bb3a 100644 --- a/test/rubygems/test_gem_ext_cargo_builder_unit.rb +++ b/test/rubygems/test_gem_ext_cargo_builder_unit.rb @@ -23,16 +23,6 @@ class TestGemExtCargoBuilderUnit < Gem::TestCase assert_includes command, "--locked" end - def test_cargo_command_does_not_lock_in_dev_profile - skip_unsupported_platforms! - spec = Gem::Specification.new "rust_ruby_example", "0.1.0" - builder = Gem::Ext::CargoBuilder.new(spec) - builder.profile = :dev - command = builder.cargo_command(Dir.pwd, @tempdir) - - assert_not_includes command, "--locked" - end - def test_cargo_command_passes_respects_cargo_env_var skip_unsupported_platforms! old_cargo = ENV["CARGO"]