File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,15 @@ def read_win_file_if_exists(path)
5757 end
5858
5959 it '03a: stringifying a Deferred writes the function form (reproduces customer report)' do
60- apply = apply_manifest ( dsc_deferred_stringified )
61- out = read_win_file_if_exists ( 'C:/Temp/from_dsc_var_string.txt' )
60+ apply_manifest ( dsc_deferred_stringified )
61+ out = read_win_file_if_exists ( 'C:/Temp/from_dsc_var_string.txt' )
6262 expect ( out [ :exists ] ) . to be ( true )
6363 expect ( out [ :content ] ) . to match ( %r{Deferred\s *\( |Puppet::Pops::Types::Deferred}i )
6464 expect ( out [ :content ] ) . not_to match ( %r{\b hello-var\b } )
6565 end
6666
6767 it '03b: unwrap on a non‑Sensitive is a no‑op; also writes the function form' do
68- apply = apply_manifest ( dsc_deferred_bad_unwrap )
68+ apply_manifest ( dsc_deferred_bad_unwrap )
6969 out = read_win_file_if_exists ( 'C:/Temp/from_dsc_var_bad_unwrap.txt' )
7070 out = read_win_file_if_exists ( 'C:/Temp/from_dsc_var.txt' ) unless out [ :exists ]
7171 expect ( out [ :exists ] ) . to be ( true )
You can’t perform that action at this time.
0 commit comments