diff scripts/gui/uimenu.m @ 20266:df3244834a50

fix tests now that assert ([]) fails * uimenu.m: Fix test now that FLTK menu bar doesn't have a Help menu. * isbanded.m: Fix test for [] result to actually test for [].
author John W. Eaton <jwe@octave.org>
date Thu, 09 Apr 2015 16:36:56 -0400
parents ac59136f1f10
children
line wrap: on
line diff
--- a/scripts/gui/uimenu.m
+++ b/scripts/gui/uimenu.m
@@ -119,7 +119,7 @@
 %!   graphics_toolkit (toolkit);
 %! end_unwind_protect
 
-## check for top level menus file, edit, and help
+## check for top level menus file and edit
 %!testif HAVE_FLTK
 %! toolkit = graphics_toolkit ("fltk");
 %! hf = figure ("visible", "off");
@@ -128,8 +128,6 @@
 %!   assert (ishghandle (uif));
 %!   uie = findall (hf, "label", "&edit");
 %!   assert (ishghandle (uie));
-%!   uih = findall (hf, "label", "&help");
-%!   assert (ishghandle (uih));
 %! unwind_protect_cleanup
 %!   close (hf);
 %!   graphics_toolkit (toolkit);