mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
use a newer version of ruby which builds cleanly
This commit is contained in:
parent
8cc3a6d8aa
commit
b00c31cf9e
3 changed files with 5 additions and 5 deletions
|
|
@ -71,10 +71,10 @@ def test_install_ruby_default(fake_gem_prefix):
|
|||
|
||||
@xfailif_windows # pragma: win32 no cover
|
||||
def test_install_ruby_with_version(fake_gem_prefix):
|
||||
ruby.install_environment(fake_gem_prefix, '2.7.2', ())
|
||||
ruby.install_environment(fake_gem_prefix, '3.1.0', ())
|
||||
|
||||
# Should be able to activate and use rbenv install
|
||||
with ruby.in_env(fake_gem_prefix, '2.7.2'):
|
||||
with ruby.in_env(fake_gem_prefix, '3.1.0'):
|
||||
cmd_output('rbenv', 'install', '--help')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue