File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed
spec/unit/puppet_x/dsc_lite Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9- # Offense count: 7
10- # This cop supports safe autocorrection (--autocorrect).
11- Layout/ClosingHeredocIndentation :
12- Exclude :
13- - ' spec/unit/puppet_x/dsc_lite/powershell_hash_formatter_spec.rb'
14-
159# Offense count: 2
1610# This cop supports safe autocorrection (--autocorrect).
1711Layout/EmptyLineAfterGuardClause :
Original file line number Diff line number Diff line change 1919'ensure' = 'present';
2020'name' = 'Web-WebServer'
2121}
22- HERE
22+ HERE
2323 result = formatter . format ( 'ensure' => 'present' ,
2424 'name' => 'Web-WebServer' )
2525 expect ( result ) . to eq expected . strip
3939})
4040)
4141}
42- HERE
42+ HERE
4343
4444 result = formatter . format ( 'ensure' => 'Present' ,
4545 'name' => 'foo' ,
7070'digest' = $false
7171})
7272}
73- HERE
73+ HERE
7474
7575 result = formatter . format ( 'ensure' => 'Present' ,
7676 'name' => 'foo' ,
110110})
111111)
112112}
113- HERE
113+ HERE
114114
115115 result = formatter . format ( 'ensure' => 'Present' ,
116116 'name' => 'foo' ,
149149'passwordneverexpires' = $false;
150150'disabled' = $true
151151}
152- HERE
152+ HERE
153153 result = formatter . format ( 'username' => 'jane-doe' ,
154154 'description' => 'Jane Doe user' ,
155155 'ensure' => 'present' ,
175175'Accept-Language' = 'en-US'
176176}
177177}
178- HERE
178+ HERE
179179 result = formatter . format ( 'destinationPath' => "c:\f ileName.jpg" ,
180180 'uri' => 'http://www.contoso.com/image.jpg' ,
181181 'userAgent' => '[Microsoft.PowerShell.Commands.PSUserAgent]::InternetExplorer' ,
198198'passwordneverexpires' = $false;
199199'disabled' = $true
200200}
201- HERE
201+ HERE
202202 sensitive_pass = Puppet ::Pops ::Types ::PSensitiveType ::Sensitive . new ( 'password' )
203203 result = formatter . format ( 'username' => 'jane-doe' ,
204204 'description' => 'Jane Doe user' ,
You can’t perform that action at this time.
0 commit comments