Mercurial > hg > octave-nkf
diff scripts/testfun/assert.m @ 8507:cadc73247d65
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 13 Jan 2009 14:08:36 -0500 |
parents | bc982528de11 |
children | f4a4f914462e |
line wrap: on
line diff
--- a/scripts/testfun/assert.m +++ b/scripts/testfun/assert.m @@ -111,7 +111,7 @@ elseif (isstruct (expected)) if (! isstruct (cond) || any (size (cond) != size (expected)) - || rows(struct_elements (cond)) != rows (struct_elements (expected))) + || rows (fieldnames (cond)) != rows (fieldnames (expected))) iserror = 1; else try