1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2015 - Scilab Enterprises - Antoine ELIAS
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- CLI SHELL MODE -->
8 // <-- NO CHECK REF -->
9 // <-- ENGLISH IMPOSED -->
11 // <-- Non-regression test for bug 15106 -->
13 // <-- Bugzilla URL -->
14 // http://bugzilla.scilab.org/15106
16 // <-- Short Description -->
17 // Operation with null operand crashs Scilab
20 assert_checkerror("whereami() == ""SCI""", sprintf(_("Operation ''%s'': there is no left operand."),"=="));
21 assert_checkerror("""SCI"" == whereami()", sprintf(_("Operation ''%s'': there is no right operand."),"=="));