diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-08-31 22:25:25 +0300 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-09-04 07:22:02 +0300 |
commit | e908e117762d2b5d427b090b9c89b2e58ac382ac (patch) | |
tree | 145d577252857479a5188074d561ddb50c35a529 /lib/gitlab/ci/reports | |
parent | df6f1dd93f0f427a2c66c07ea31bdb17a7efaca6 (diff) |
Avoid calling freeze on already frozen strings in lib/gitlab
Diffstat (limited to 'lib/gitlab/ci/reports')
-rw-r--r-- | lib/gitlab/ci/reports/test_case.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/ci/reports/test_case.rb b/lib/gitlab/ci/reports/test_case.rb index 292e273a03a..fdeaad698b9 100644 --- a/lib/gitlab/ci/reports/test_case.rb +++ b/lib/gitlab/ci/reports/test_case.rb @@ -4,10 +4,10 @@ module Gitlab module Ci module Reports class TestCase - STATUS_SUCCESS = 'success'.freeze - STATUS_FAILED = 'failed'.freeze - STATUS_SKIPPED = 'skipped'.freeze - STATUS_ERROR = 'error'.freeze + STATUS_SUCCESS = 'success' + STATUS_FAILED = 'failed' + STATUS_SKIPPED = 'skipped' + STATUS_ERROR = 'error' STATUS_TYPES = [STATUS_SUCCESS, STATUS_FAILED, STATUS_SKIPPED, STATUS_ERROR].freeze attr_reader :name, :classname, :execution_time, :status, :file, :system_output, :stack_trace, :key |