Skip to content

Commit e6fd667

Browse files
committed
(CAT-2532) Updates matrix output regex
Updates the regular expression used to validate the collection output within the matrix generation script. This ensures compatibility with various date formats in the puppet_enterprise version strings. CAT-2532
1 parent 60876be commit e6fd667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/exe/matrix_from_metadata_v3_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
'::group::spec_matrix'
234234
)
235235
expect(github_output_content).to include(
236-
'"collection":["2023.8.6-puppet_enterprise","2021.7.9-puppet_enterprise","puppetcore8"'
236+
/"collection":\["\d{4}\.\d\.\d-puppet_enterprise","\d{4}\.\d\.\d-puppet_enterprise","puppetcore8"/
237237
)
238238
expect(github_output_content).to include(
239239
'spec_matrix={"include":[{"puppet_version":"~> 8.0","ruby_version":3.2}]}'

0 commit comments

Comments
 (0)