1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-09 18:30:06 +00:00

fix: supporting empty dirs in mp_dirlist. Test updated.

This commit is contained in:
munja
2022-03-11 11:28:03 +00:00
parent 1fdbc7cce9
commit 7e9e0fac07
3 changed files with 32 additions and 15 deletions

View File

@@ -47,4 +47,18 @@ run;
iftrue=(%mf_nobs(work.mytable3)=2),
desc=Top level returned,
outds=work.test_results
)
)
%mp_dirlist(path=&root/b, outds=work.myTable4)
%mp_assert(
iftrue=(%mf_nobs(work.mytable4)=0),
desc=Empty table for empty directory,
outds=work.test_results
)
%mp_dirlist(path=&root/notexisting, outds=work.myTable5)
%mp_assert(
iftrue=(%mf_nobs(work.mytable5)=0),
desc=Empty table for non-existing directory,
outds=work.test_results
)