diff options
author | Dinesh Panda <dineshpanda92@gmail.com> | 2019-09-10 08:11:43 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-09-10 08:11:43 +0000 |
commit | 736b5908da637cbb35eb5fd1a10790c2ee17fcde (patch) | |
tree | 50d6d25be103c767e920cbfdf7df650670572fe6 /lib/quality | |
parent | 4e9a93a38d0bbc6940a54b484b5d902f2d481a4d (diff) | |
download | gitlab-ce-736b5908da637cbb35eb5fd1a10790c2ee17fcde.tar.gz |
Avoid calling freeze on already frozen strings in lib
Diffstat (limited to 'lib/quality')
-rw-r--r-- | lib/quality/test_level.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quality/test_level.rb b/lib/quality/test_level.rb index 60d79b52680..a65657dadd0 100644 --- a/lib/quality/test_level.rb +++ b/lib/quality/test_level.rb @@ -53,7 +53,7 @@ module Quality end def pattern(level) - @patterns[level] ||= "#{prefix}spec/{#{TEST_LEVEL_FOLDERS.fetch(level).join(',')}}{,/**/}*_spec.rb".freeze + @patterns[level] ||= "#{prefix}spec/{#{TEST_LEVEL_FOLDERS.fetch(level).join(',')}}{,/**/}*_spec.rb" end def regexp(level) |