12%let orig_sasjs_stpsrv_header_loc=&sasjs_stpsrv_header_loc;
13%let sasjs_stpsrv_header_loc=%sysfunc(pathname(work))/header.txt;
15%mp_assertscope(SNAPSHOT)
16%mfs_httpheader(Content-Type,application/csv)
17%mp_assertscope(COMPARE,ignorelist=sasjs_stpsrv_header_loc)
20 infile
"&sasjs_stpsrv_header_loc";
22 if _n_=1 then call symputx(
'test1',_infile_);
27 desc=Check code ran without errors,
28 outds=work.test_results
31 iftrue=(
"&test1"=
"Content-Type: application/csv"),
32 desc=Checking line was created,
33 outds=work.test_results
36%mfs_httpheader(Content-Type,application/text)
39 infile
"&sasjs_stpsrv_header_loc";
41 if _n_=2 then call symputx(
'test2',_infile_);
46 desc=Check code ran without errors
for test2,
47 outds=work.test_results
50 iftrue=(
"&test2"=
"Content-Type: application/text"),
51 desc=Checking line was created,
52 outds=work.test_results
57%let sasjs_stpsrv_header_loc=&orig_sasjs_stpsrv_header_loc;