# HG changeset patch # User Kai T. Ohlhus # Date 1593760243 -32400 # Node ID 8558c6ad4d71019d9780101dfa4778ee84c63808 # Parent 7d601759c23dcaef1a33a8cba6dbd3613213f64a doc: * scripts/testfun/assert.m: comment changes (bug #58686) Addition to cset 286fe9352cd6. diff -r 7d601759c23d -r 8558c6ad4d71 scripts/testfun/assert.m --- a/scripts/testfun/assert.m Fri Jul 03 16:02:39 2020 +0900 +++ b/scripts/testfun/assert.m Fri Jul 03 16:10:43 2020 +0900 @@ -196,6 +196,9 @@ err.reason{end+1} = "Structure fieldname mismatch"; else try + ## Test if both structs are empty, i.e. 0x0, Nx0, or Nx0 structs. + ## In this case the values cannot be extracted for comparison as + ## they are not assignable and not defined. assert (isempty (cond), isempty (expected)); if (! isempty (cond))