[rubygems/rubygems] Fix warning about ambiguous /

```
/path/to/rubygems/test/rubygems/test_gem_commands_exec_command.rb:745: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
```

https://github.com/rubygems/rubygems/commit/e6a538b5c8
This commit is contained in:
David Rodríguez 2023-03-02 18:24:25 +01:00 committed by Hiroshi SHIBATA
parent 7fea848568
commit 90b74d8c65

View File

@ -739,7 +739,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
invoke "gem", "list", "--local"
assert_empty @ui.error
assert_match /\A\s*\** LOCAL GEMS \**\s*\z/m, @ui.output
assert_match(/\A\s*\** LOCAL GEMS \**\s*\z/m, @ui.output)
invoke "gem", "env", "GEM_HOME"
assert_equal "#{@gem_home}/gem_exec\n", @ui.output