Mercurial > octave
view test/bug-54490.tst @ 31560:9d9b31c8458b stable
fix missing translations of workspace header
* workspace-model.cc (headerData): use tr() here again
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Sun, 27 Nov 2022 11:27:40 +0100 |
parents | 9080316864bf |
children |
line wrap: on
line source
%!function out = bug54490 () %! global k; %! k = 1; %! out = 3; %!endfunction %!test <*54490> %! global k; %! k = 2; %! a = [5, 6]; %! a(k) = bug54490 (); %! assert (a, [5, 3]); %! k = 2; %! a = [5, 6]; %! [a(k)] = bug54490 (); %! assert (a, [5, 3]); %! clear -global k; # cleanup after test