[Swift-commit] r3421 - trunk/tests/language-behaviour

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Jun 30 17:33:17 CDT 2010


Author: wozniak
Date: 2010-06-30 17:33:17 -0500 (Wed, 30 Jun 2010)
New Revision: 3421

Added:
   trunk/tests/language-behaviour/761-dirname.swift
Log:
Test for @dirname()


Added: trunk/tests/language-behaviour/761-dirname.swift
===================================================================
--- trunk/tests/language-behaviour/761-dirname.swift	                        (rev 0)
+++ trunk/tests/language-behaviour/761-dirname.swift	2010-06-30 22:33:17 UTC (rev 3421)
@@ -0,0 +1,9 @@
+
+type file{}
+
+file f<"/d/f.txt">;
+
+string s = @dirname(f);
+string t = @tostring(s);
+
+tracef("dirname: %s\n", s);




More information about the Swift-commit mailing list