mirror of
https://github.com/sasjs/core.git
synced 2026-01-16 13:00:05 +00:00
fix: updating tests per https://github.com/sasjs/cli/issues/1101
This commit is contained in:
@@ -52,14 +52,13 @@ create table work.example2(
|
||||
%mp_getpk(work,ds=example2,outds=test2)
|
||||
|
||||
data _null_;
|
||||
set work.test1;
|
||||
set work.test2;
|
||||
call symputx('test2',pk_fields);
|
||||
run;
|
||||
|
||||
%mp_assert(
|
||||
iftrue=("&test2"="TX_FROM DD_TYPE"),
|
||||
desc=mp_getpk gets unique constraint with NOT NULL in correct order,
|
||||
outds=work.test_results
|
||||
desc=mp_getpk gets unique constraint with NOT NULL in correct order
|
||||
)
|
||||
|
||||
/* unique key without NOT NULL NOT captured */
|
||||
@@ -71,8 +70,7 @@ create table work.example3(
|
||||
DD_SHORTDESC char(256),
|
||||
constraint unq1 unique(tx_from, dd_type),
|
||||
constraint unq2 unique(tx_from, dd_type, dd_source),
|
||||
constraint nnn not null(tx_from),
|
||||
constraint nnnn not null(dd_type)
|
||||
constraint nnn not null(tx_from)
|
||||
);
|
||||
%mp_getpk(work,ds=example3,outds=test3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user