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

fix: incorrect test logic

This commit is contained in:
munja
2022-01-25 17:01:49 +01:00
parent 90adf8dcdd
commit 56c1397547

View File

@@ -74,8 +74,13 @@ create table work.example3(
); );
%mp_getpk(work,ds=example3,outds=test3) %mp_getpk(work,ds=example3,outds=test3)
data _null_;
set work.test3;
call symputx('test3',pk_fields);
run;
%mp_assert( %mp_assert(
iftrue=(%mf_nobs(work.test3)=0), iftrue=("&test3 "=" "),
desc=mp_getpk does not capture unique constraint without NOT NULL, desc=mp_getpk does not capture unique constraint without NOT NULL,
outds=work.test_results outds=work.test_results
) )