view test/bug-59617/bug-59617.tst @ 31237:e3016248ca5d

uifigure.m: Call set () only if varargin is not empty (bug #63088) * uifigure.m: Call set () only if varargin is not empty.
author John Donoghue <john.donoghue@ieee.org>
date Wed, 21 Sep 2022 09:55:32 -0400
parents 9080316864bf
children
line wrap: on
line source

%!test <*59617>
%! obj = bug59617 ();
%! assert (max (@() 1, obj), "@bug59617/max")
%! assert (max (obj, @() 2), "@bug59617/max")
%! assert (max (obj, obj), "@bug59617/max")