Skip to content
Snippets Groups Projects
Commit 501774e3 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test/test_os_mac_language: fix Rubocop warnings.

parent e89de335
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment