[Swift-commit] r2935 - in trunk/tests/language: working working-base

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri May 15 06:24:49 CDT 2009


Author: benc
Date: 2009-05-15 06:24:49 -0500 (Fri, 15 May 2009)
New Revision: 2935

Modified:
   trunk/tests/language/working-base/arraymapper.xml
   trunk/tests/language/working-base/range.xml
   trunk/tests/language/working/arraymapper.swift
   trunk/tests/language/working/range.swift
Log:
Remove uses of print in language tests, as this was removed in r2921

Modified: trunk/tests/language/working/arraymapper.swift
===================================================================
--- trunk/tests/language/working/arraymapper.swift	2009-05-15 11:23:17 UTC (rev 2934)
+++ trunk/tests/language/working/arraymapper.swift	2009-05-15 11:24:49 UTC (rev 2935)
@@ -3,6 +3,6 @@
 file files[]<simple_mapper;pattern="*">;
 
 foreach f in files {
-   print(f);
+   trace(f);
 }
 

Modified: trunk/tests/language/working/range.swift
===================================================================
--- trunk/tests/language/working/range.swift	2009-05-15 11:23:17 UTC (rev 2934)
+++ trunk/tests/language/working/range.swift	2009-05-15 11:24:49 UTC (rev 2935)
@@ -1,5 +1,5 @@
 int nums[] = [0:20:2];  // generate a list 0, 2, 4, 6, 8 ...
 
 foreach num in nums {
-	print(num);
+	trace(num);
 }

Modified: trunk/tests/language/working-base/arraymapper.xml
===================================================================
--- trunk/tests/language/working-base/arraymapper.xml	2009-05-15 11:23:17 UTC (rev 2934)
+++ trunk/tests/language/working-base/arraymapper.xml	2009-05-15 11:24:49 UTC (rev 2935)
@@ -16,7 +16,7 @@
   </variable>
   <foreach var="f"  src="line 5">
   <in><variableReference>files</variableReference></in>
-  <body><call proc="print" src="line 6">
+  <body><call proc="trace" src="line 6">
       <input><variableReference>f</variableReference></input>
     </call></body>
   </foreach>

Modified: trunk/tests/language/working-base/range.xml
===================================================================
--- trunk/tests/language/working-base/range.xml	2009-05-15 11:23:17 UTC (rev 2934)
+++ trunk/tests/language/working-base/range.xml	2009-05-15 11:24:49 UTC (rev 2935)
@@ -14,7 +14,7 @@
   </assign>
   <foreach var="num"  src="line 3">
   <in><variableReference>nums</variableReference></in>
-  <body><call proc="print" src="line 4">
+  <body><call proc="trace" src="line 4">
       <input><variableReference>num</variableReference></input>
     </call></body>
   </foreach>




More information about the Swift-commit mailing list