comparison test/bug-35881/bug-35881.tst @ 30114:2838bbd84b87

update test files with bug numbers
author John W. Eaton <jwe@octave.org>
date Thu, 02 Sep 2021 11:35:11 -0400
parents 0a5b15007766
children 9080316864bf
comparison
equal deleted inserted replaced
30113:3efce22b7350 30114:2838bbd84b87
21 ## along with Octave; see the file COPYING. If not, see 21 ## along with Octave; see the file COPYING. If not, see
22 ## <https://www.gnu.org/licenses/>. 22 ## <https://www.gnu.org/licenses/>.
23 ## 23 ##
24 ######################################################################## 24 ########################################################################
25 25
26 %!test 26 %!test <35881>
27 %! global _tstvar_; # Final test does "clear all" which removes this var. 27 %! global _tstvar_; # Final test does "clear all" which removes this var.
28 %! 28 %!
29 %! _tstvar_ = struct ("init1",-1, "a1",-1, "init2",-1, "a2",-1); 29 %! _tstvar_ = struct ("init1",-1, "a1",-1, "init2",-1, "a2",-1);
30 %! bug35881 (0); 30 %! bug35881 (0);
31 %! assert (_tstvar_, struct ("init1",true, "a1",1, "init2",false, "a2",1)); 31 %! assert (_tstvar_, struct ("init1",true, "a1",1, "init2",false, "a2",1));