File tree Expand file tree Collapse file tree 5 files changed +0
-84
lines changed
Expand file tree Collapse file tree 5 files changed +0
-84
lines changed Original file line number Diff line number Diff line change 88require 'puppet-lint/data'
99require 'puppet-lint/checks'
1010require 'puppet-lint/bin'
11- require 'puppet-lint/monkeypatches'
1211
1312class PuppetLint ::NoCodeError < StandardError ; end
1413class PuppetLint ::NoFix < StandardError ; end
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 expect ( subject . code ) . to_not be_nil
99 end
1010
11- # rubocop:disable Style/FormatString
12- it 'should have support for % with a hash' do
13- string = 'replace %{hash}' % { :hash => 'replaced' }
14- expect ( string ) . to match ( 'replace replaced' )
15- end
16-
17- it 'should not break regular % support' do
18- string = 'replace %s %s' % %w[ get replaced ]
19- expect ( string ) . to match ( 'replace get replaced' )
20- end
21- # rubocop:enable Style/FormatString
22-
2311 it 'should return empty manifest when empty one given as the input' do
2412 subject . code = ''
2513 subject . run
You can’t perform that action at this time.
0 commit comments