зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Remove remaining dev profile test
https://github.com/rubygems/rubygems/commit/7d50e998b3
This commit is contained in:
Родитель
88497b2167
Коммит
01fd1c482e
|
@ -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"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче