[svn] r7571: nemerle/trunk/ncc/testsuite/positive/printf.n
VladD2
svnadmin at nemerle.org
Mon Apr 2 06:58:31 CEST 2007
Log:
Add positive test.
Author: VladD2
Date: Mon Apr 2 06:58:30 2007
New Revision: 7571
Modified:
nemerle/trunk/ncc/testsuite/positive/printf.n
Modified: nemerle/trunk/ncc/testsuite/positive/printf.n
==============================================================================
--- nemerle/trunk/ncc/testsuite/positive/printf.n (original)
+++ nemerle/trunk/ncc/testsuite/positive/printf.n Mon Apr 2 06:58:30 2007
@@ -123,6 +123,8 @@
def lst = [1, 2, 3, 52];
def cnv = x => "0x" + x.ToString("X");
WriteLine ($@"lst = ..$(lst; ""; "");");
+ def sep = "; ";
+ WriteLine ($@"lst = ..$(lst; sep);");
WriteLine ($@"x = $x; lst = .. $(lst; ""; ""; cnv);");
WriteLine ($".$x;");
WriteLine ($"lst = '..$(lst)';");
@@ -157,6 +159,7 @@
3' some T 42
wrong ${1} splicing
lst = 1; 2; 3; 52;
+lst = 1; 2; 3; 52;
x = 1; lst = 0x1; 0x2; 0x3; 0x34;
.1;
lst = '1, 2, 3, 52';
More information about the svn
mailing list