1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2019 - Samuel GOUGEON
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- NO CHECK REF -->
10 // <-- Non-regression test for bug 16120 -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/16120
15 // <-- Short Description -->
16 // tree_show() was broken for containers including some cells
19 c = makecell([1 2],"abc",%t);
20 assert_checkequal(execstr("tree_show(c)", "errcatch"), 0);
21 assert_checkequal(execstr("tree_show({})", "errcatch"), 0);
23 assert_checkequal(execstr("tree_show(s)", "errcatch"), 0);