summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSerge Steer <serge.steer@scilab.org>2007-06-22 12:56:02 +0000
committerSerge Steer <serge.steer@scilab.org>2007-06-22 12:56:02 +0000
commit07bd62c57404c39c2dfb404aadb321bfaef5003f (patch)
tree32ab552a69118a91625a3cba173576635505f5cf /tests
parent2eafbd57b8e5b2a18c81ffd07dbca08ba125eb19 (diff)
downloadscilab-07bd62c57404c39c2dfb404aadb321bfaef5003f.zip
scilab-07bd62c57404c39c2dfb404aadb321bfaef5003f.tar.gz
bug2420 fix
Diffstat (limited to 'tests')
-rw-r--r--tests/nonRegression/bug2420.sci12
-rw-r--r--tests/nonRegression/list_nonreg.txt1
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/nonRegression/bug2420.sci b/tests/nonRegression/bug2420.sci
new file mode 100644
index 0000000..eaf6604
--- /dev/null
+++ b/tests/nonRegression/bug2420.sci
@@ -0,0 +1,12 @@
1// Scilab Project - Serge Steer
2// Copyright INRIA 2007
3// Date : June 2007
4
5mode(-1) ;
6clear ;
7BugNumber=2420;
8function a=strudel(),a='+\@+';endfunction
9t=fun2string(strudel)
10T=stripblanks(t(2))=="a = ''+\@+'';"
11affich_result(T,BugNumber) ;
12clear ;
diff --git a/tests/nonRegression/list_nonreg.txt b/tests/nonRegression/list_nonreg.txt
index 344f559..30d40ef 100644
--- a/tests/nonRegression/list_nonreg.txt
+++ b/tests/nonRegression/list_nonreg.txt
@@ -172,6 +172,7 @@
1722407 1722407
1732410 1732410
1742414 1742414
1752420
1752421 1762421
1762428 1772428
1772429 1782429