diff scripts/general/profile.m @ 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 c5ddb99ff5de
children 9cae456085c2
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));