changeset 13201:b8779f71b77f

Update tests for profile.m
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 23 Sep 2011 12:24:14 -0500
parents 9106fdfc03e8
children 92095e0ba372
files scripts/general/profile.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/profile.m	Fri Sep 23 10:18:03 2011 -0500
+++ b/scripts/general/profile.m	Fri Sep 23 12:24:14 2011 -0500
@@ -137,7 +137,7 @@
 %! ftbl = info.FunctionTable;
 %! assert (fieldnames (ftbl), {'FunctionName'; 'TotalTime'; 'NumCalls'; 'IsRecursive'; 'Parents'; 'Children'});
 %! hier = info.Hierarchical;
-%! assert (fieldnames (hier), {'Index'; 'SelfTime'; 'NumCalls'; 'Children'});
+%! assert (fieldnames (hier), {'Index'; 'SelfTime'; 'TotalTime'; 'NumCalls'; 'Children'});
 %! profile ('clear');
 %! info = profile ('info');
 %! assert (isstruct (info));