diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-14 03:06:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-14 03:06:38 +0300 |
commit | 7ea2b8726c5c587e32d53efd5d9c84cd72ba4356 (patch) | |
tree | 79625bb280020ffad5c92b394b401f8a22d0b202 /spec/validators/namespace_path_validator_spec.rb | |
parent | 336e1756be5b6ee624f7e4b5f740a434f05f8e94 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/validators/namespace_path_validator_spec.rb')
-rw-r--r-- | spec/validators/namespace_path_validator_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/validators/namespace_path_validator_spec.rb b/spec/validators/namespace_path_validator_spec.rb index 61e2845f35f..bc9834dbd2a 100644 --- a/spec/validators/namespace_path_validator_spec.rb +++ b/spec/validators/namespace_path_validator_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe NamespacePathValidator do @@ -5,7 +7,7 @@ describe NamespacePathValidator do describe '.valid_path?' do it 'handles invalid utf8' do - expect(described_class.valid_path?("a\0weird\255path")).to be_falsey + expect(described_class.valid_path?(+"a\0weird\255path")).to be_falsey end end |