Skip to content

Commit f30bc09

Browse files
committed
(PUP-11993) Update spec test for Style/RedundantRegexpCharacterClass
This commit updates a test in spec/unit/pops/types/p_type_set_type_spec.rb to use the updated TYPE_QUALIFIED_REFERENCE pattern.
1 parent 76d4fe4 commit f30bc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/pops/types/p_type_set_type_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def parse_type_set(name, body, name_authority = Pcore::RUNTIME_NAME_AUTHORITY)
278278
references => { Ref => { name => 'cars', version_range => '1.x' } }
279279
OBJECT
280280
expect { parse_type_set('MySet', ts) }.to raise_error(TypeAssertionError,
281-
/entry 'references' entry 'Ref' entry 'name' expects a match for Pattern\[\/\\A\[A-Z\]\[\\w\]\*\(\?:::\[A-Z\]\[\\w\]\*\)\*\\z\/\], got 'cars'/)
281+
/entry 'references' entry 'Ref' entry 'name' expects a match for Pattern\[\/\\A\[A-Z\]\\w\*\(\?:::\[A-Z\]\\w\*\)\*\\z\/\], got 'cars'/)
282282
end
283283

284284
it 'has a version_range that is not a valid SemVer range' do

0 commit comments

Comments
 (0)