Mercurial > octave
view test/bug-49379/bug-49379.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 | 976a7a350274 |
children |
line wrap: on
line source
%!test <49379> %! a1 = 1; %! a2 = 2; %! obj = class_bug49379 (a1, a2); %! assert (obj.ctor_arg_names (), {"a1", "a2"}) %! meth (obj, a2, a1); %! assert (obj.meth_arg_names (), {"obj", "a2", "a1"}) %! obj.meth (a2, a1); %! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})