Skip to content

Commit

Permalink
[rubygems/rubygems] Remove remaining dev profile test
Browse files Browse the repository at this point in the history
  • Loading branch information
ianks authored and matzbot committed Dec 7, 2022
1 parent 88497b2 commit 01fd1c4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/rubygems/test_gem_ext_cargo_builder_unit.rb
Expand Up @@ -23,16 +23,6 @@ def test_cargo_command_locks_in_release_profile
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"]
Expand Down

0 comments on commit 01fd1c4

Please sign in to comment.