Skip to content

Commit 250f2df

Browse files
authored
Merge pull request #60 from puppetlabs/maint_fixingCops
(maint) : Fixing cops
2 parents 0d80bc7 + a14b216 commit 250f2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec-puppet/support.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def munge_facts(facts)
504504
end
505505

506506
def escape_special_chars(string)
507-
string.gsub(/\$/, '\\$')
507+
string.gsub('$', '\\$')
508508
end
509509

510510
def rspec_compatibility

0 commit comments

Comments
 (0)