1
0
mirror of https://github.com/sasjs/core.git synced 2026-07-23 15:35:29 +00:00

fix: failing test + additional docs

This commit is contained in:
4gl
2026-07-22 17:45:21 +01:00
parent ebb00f458b
commit 3d52ec7ef5
6 changed files with 90 additions and 5 deletions
+12 -1
View File
@@ -57,8 +57,19 @@ describe table web.demo;
proc compare base=work.demo compare=web.demo(keep=x);
quit;
/* sysinfo is a bitmask - keep only data-related bits, ie:
64 Base data set has observation not in comparison
128 Comparison data set has observation not in base
4096 A value comparison was unequal
32768 Number of observations differ
Attribute diffs (eg 16 - variable length) are ignored, as a JSON
round trip will not preserve lengths/formats/labels.
*/
/* SYSINFO is read only, so store the masked value in a new variable */
%let sysinfo_masked=%sysfunc(band(&sysinfo, 64+128+4096+32768));
%mp_assert(
iftrue=(&sysinfo=0),
iftrue=(&sysinfo_masked=0),
desc=Returned json is identical to input table for all special chars,
outds=work.test_results
)