summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSt├ęphane MOTTELET <stephane.mottelet@utc.fr>2019-07-01 17:08:58 +0200
committerClement DAVID <clement.david@esi-group.com>2019-07-19 14:04:05 +0200
commitc69421ba366f75283aab3dfd4eccf70b985a89a1 (patch)
tree6f2ce189bed3a5207ec042d087ab9058f9fbb66c /modules
parent2482db1753d7383cf16611a2823d035c9815acb4 (diff)
downloadscilab-c69421ba366f75283aab3dfd4eccf70b985a89a1.zip
scilab-c69421ba366f75283aab3dfd4eccf70b985a89a1.tar.gz
* Bug 16111 fixed: now isglobal supports array of strings
http://bugzilla.scilab.org/show_bug.cgi?id=16111 Change-Id: I5fefe90e3e688a9dd8699f365c275cfbb603459e
Diffstat (limited to 'modules')
-rw-r--r--modules/core/tests/nonreg_tests/bug_16111.tst23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/core/tests/nonreg_tests/bug_16111.tst b/modules/core/tests/nonreg_tests/bug_16111.tst
new file mode 100644
index 0000000..9a54897
--- /dev/null
+++ b/modules/core/tests/nonreg_tests/bug_16111.tst
@@ -0,0 +1,23 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2019 - St├ęphane MOTTELET
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7//
8// <-- Non-regression test for bug 16111 -->
9//
10// <-- CLI SHELL MODE -->
11// <-- NO CHECK REF -->
12//
13// <-- Bugzilla URL -->
14// http://bugzilla.scilab.org/16111
15//
16// <-- Short Description -->
17// isglobal does not support non-scalar array of string as input
18
19global a;
20a=1;
21b=1;
22
23assert_checkequal(isglobal(["a","b"]), [%t, %f]) \ No newline at end of file