From af1e8489f9e435f7f5dbd6b358cd1146392d6b75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Mottelet?= Date: Wed, 22 Apr 2020 09:08:17 +0200 Subject: [PATCH] [ast] fix bug 14245 NR test after 5dc990d1 Change-Id: I5e5f3b63b56b1dc4ec68f0ded99e75a98ce5814b --- .../ast/tests/nonreg_tests/bug_14245.dia.ref | 22 -------------------- .../modules/ast/tests/nonreg_tests/bug_14245.tst | 3 ++- 2 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 scilab/modules/ast/tests/nonreg_tests/bug_14245.dia.ref diff --git a/scilab/modules/ast/tests/nonreg_tests/bug_14245.dia.ref b/scilab/modules/ast/tests/nonreg_tests/bug_14245.dia.ref deleted file mode 100644 index 60038d5..0000000 --- a/scilab/modules/ast/tests/nonreg_tests/bug_14245.dia.ref +++ /dev/null @@ -1,22 +0,0 @@ -// ============================================================================= -// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab -// Copyright (C) 2015 - Scilab Enterprises - Cedric Delamarre -// -// This file is distributed under the same license as the Scilab package. -// ============================================================================= -// <-- CLI SHELL MODE --> -// -// <-- Non-regression test for bug 14245 --> -// -// <-- Bugzilla URL --> -// http://bugzilla.scilab.org/14245 -// -// <-- Short Description --> -// Problem in recursive extraction using list with struct -a=[1,2;3,4]; -b=list(3,a); -c=5; -s=list(); -s(1)=struct("a",a,"b",b,"c",c); -s(2)=2; -assert_checkequal(s(1).b(2)(1:3), [1 ; 3 ; 2]); diff --git a/scilab/modules/ast/tests/nonreg_tests/bug_14245.tst b/scilab/modules/ast/tests/nonreg_tests/bug_14245.tst index 276e793..acd20e8 100644 --- a/scilab/modules/ast/tests/nonreg_tests/bug_14245.tst +++ b/scilab/modules/ast/tests/nonreg_tests/bug_14245.tst @@ -5,6 +5,7 @@ // This file is distributed under the same license as the Scilab package. // ============================================================================= // <-- CLI SHELL MODE --> +// <-- NO CHECK REF --> // // <-- Non-regression test for bug 14245 --> // @@ -22,4 +23,4 @@ s=list(); s(1)=struct("a",a,"b",b,"c",c); s(2)=2; -assert_checkequal(s(1).b(2)(1:3), [1 ; 3 ; 2]); +assert_checkequal(s(1).b(2)(1:3), [1 3 2]); -- 1.7.9.5