Skip to content

Commit 34c8d8f

Browse files
author
Darren Gipson
committed
fix regex check
1 parent 7069f81 commit 34c8d8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/classes/datadog_agent_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,8 +1781,8 @@
17811781
it 'adds an install_info' do
17821782
expect(install_info['install_method']).to match(
17831783
'tool' => 'puppet',
1784-
'tool_version' => %r{^puppet-unknown$}, # puppetversion is not set in tests, this field has to be tested manually
1785-
'installer_version' => %r{^datadog_module-\d+\.\d+\.\d+$},
1784+
'tool_version' => %r{^puppet-\d+\.\d+\.\d}, # puppetversion is not set in tests, this field has to be tested manually
1785+
'installer_version' => %r{^datadog_module-\d+\.\d+\.\d},
17861786
)
17871787
end
17881788
end

0 commit comments

Comments
 (0)