diff options
| author | Thong Kuah <tkuah@gitlab.com> | 2019-04-12 00:02:24 +1200 |
|---|---|---|
| committer | Thong Kuah <tkuah@gitlab.com> | 2019-04-13 00:45:38 +1200 |
| commit | 0be52bf32fa38aca777401bb9e1bec9e011229e6 (patch) | |
| tree | 11aa3ff865e0eef00cab62635a05bdc535fcb3bf /qa/spec/runtime/key | |
| parent | 026c92d5fa82fac87386d5691c3d5b1e02f2eb5e (diff) | |
| download | gitlab-ce-0be52bf32fa38aca777401bb9e1bec9e011229e6.tar.gz | |
Add frozen_string_literal to qa/frozen_string_literal_qa
This will be default in Ruby 3, so will be good to apply in QA ahead of
time to be consistent.
Diffstat (limited to 'qa/spec/runtime/key')
| -rw-r--r-- | qa/spec/runtime/key/ecdsa_spec.rb | 2 | ||||
| -rw-r--r-- | qa/spec/runtime/key/ed25519_spec.rb | 2 | ||||
| -rw-r--r-- | qa/spec/runtime/key/rsa_spec.rb | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/qa/spec/runtime/key/ecdsa_spec.rb b/qa/spec/runtime/key/ecdsa_spec.rb index 8951e82b9bb..3f9718e62c5 100644 --- a/qa/spec/runtime/key/ecdsa_spec.rb +++ b/qa/spec/runtime/key/ecdsa_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + describe QA::Runtime::Key::ECDSA do describe '#public_key' do [256, 384, 521].each do |bits| diff --git a/qa/spec/runtime/key/ed25519_spec.rb b/qa/spec/runtime/key/ed25519_spec.rb index 4844e7affdf..08f232260af 100644 --- a/qa/spec/runtime/key/ed25519_spec.rb +++ b/qa/spec/runtime/key/ed25519_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + describe QA::Runtime::Key::ED25519 do describe '#public_key' do subject { described_class.new.public_key } diff --git a/qa/spec/runtime/key/rsa_spec.rb b/qa/spec/runtime/key/rsa_spec.rb index fbcc7ffdcb4..fcb52f541bf 100644 --- a/qa/spec/runtime/key/rsa_spec.rb +++ b/qa/spec/runtime/key/rsa_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + describe QA::Runtime::Key::RSA do describe '#public_key' do subject { described_class.new.public_key } |
