[Swift-commit] r6358 - trunk/tests/language-behaviour/mappers
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Sat Mar 9 00:23:31 CST 2013
Author: ketan
Date: 2013-03-09 00:23:31 -0600 (Sat, 09 Mar 2013)
New Revision: 6358
Added:
trunk/tests/language-behaviour/mappers/077-regexpmapper-input.in
Modified:
trunk/tests/language-behaviour/mappers/077-regexp-mapper.swift
Log:
regexp test update in trunk
Modified: trunk/tests/language-behaviour/mappers/077-regexp-mapper.swift
===================================================================
--- trunk/tests/language-behaviour/mappers/077-regexp-mapper.swift 2013-03-09 05:46:40 UTC (rev 6357)
+++ trunk/tests/language-behaviour/mappers/077-regexp-mapper.swift 2013-03-09 06:23:31 UTC (rev 6358)
@@ -6,10 +6,10 @@
}
}
-messagefile outfile <regexp_mapper;
- source="outfoo",
- match="(...)(.*)",
- transform="077-regexp-mapper.\\2.\\1">;
+messagefile infile <"077-regexpmapper-input.in">;
+messagefile outfile <regexp_mapper; source="infile",
+ match="(.*)in", transform=@strcat("077-regexp-mapper.foo.","\\1out")>;
+
outfile = greeting();
Added: trunk/tests/language-behaviour/mappers/077-regexpmapper-input.in
===================================================================
--- trunk/tests/language-behaviour/mappers/077-regexpmapper-input.in (rev 0)
+++ trunk/tests/language-behaviour/mappers/077-regexpmapper-input.in 2013-03-09 06:23:31 UTC (rev 6358)
@@ -0,0 +1 @@
+garuda
More information about the Swift-commit
mailing list