test/test_os_mac_language: fix Rubocop warnings.
This commit is contained in:
parent
e89de3351f
commit
501774e3bc
@ -3,6 +3,6 @@ require "os/mac"
|
||||
|
||||
class OSMacLanguageTests < Homebrew::TestCase
|
||||
def test_language_format
|
||||
assert_match %r{\A[a-z]{2}(-[A-Z]{2})?\Z}, OS::Mac.language
|
||||
assert_match(/\A[a-z]{2}(-[A-Z]{2})?\Z/, OS::Mac.language)
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user