mirror of
https://github.com/sasjs/core.git
synced 2026-01-16 04:50:05 +00:00
feat: new mv_getjobresult.sas macro, corresponding test, and additional fixes
This commit is contained in:
@@ -19,23 +19,27 @@ data _null_;
|
||||
put '01'x;
|
||||
run;
|
||||
%mv_createwebservice(
|
||||
path=&mcTestAppLoc/tests/macros,
|
||||
path=&mcTestAppLoc/temp/macros,
|
||||
code=testref,
|
||||
name=mv_createwebservice
|
||||
)
|
||||
|
||||
filename compare temp;
|
||||
%mv_getjobcode(
|
||||
path=&mcTestAppLoc/tests/macros
|
||||
path=&mcTestAppLoc/temp/macros
|
||||
,name=mv_createwebservice
|
||||
,outref=compare;
|
||||
)
|
||||
|
||||
data test_results;
|
||||
length test_description $256 test_result $4 test_comments $256;
|
||||
infile compare;
|
||||
infile compare end=eof;
|
||||
input;
|
||||
if _infile_='01'x then test_result='PASS';
|
||||
else test_result='FAIL';
|
||||
test_description="Creating web service with invisible character";
|
||||
if eof then do;
|
||||
if _infile_='01'x then test_result='PASS';
|
||||
else test_result='FAIL';
|
||||
test_description="Creating web service with invisible character";
|
||||
output;
|
||||
stop;
|
||||
end;
|
||||
run;
|
||||
Reference in New Issue
Block a user