summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2420.sci
blob: c79ea05010834547fe9f12c738d8568798c2caaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// <-- Non-regression test for bug 2420 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2420
//
// <-- Short Description -->
//    fun2string converts the sequence \@ as carriage return


// Scilab Project - Serge Steer
// Copyright INRIA 2007
// Date : June 2007

BugNumber=2420;
function a=strudel(),a='+\@+';endfunction
t=fun2string(strudel)    
T=stripblanks(t(2))=="a = ''+\@+'';"
affich_result(T,BugNumber) ;