[Swift-commit] r6393 - branches/faster/tests/language-behaviour/mappers
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Mon Mar 18 00:05:23 CDT 2013
Author: hategan
Date: 2013-03-18 00:05:23 -0500 (Mon, 18 Mar 2013)
New Revision: 6393
Modified:
branches/faster/tests/language-behaviour/mappers/073-simplemapper.swift
branches/faster/tests/language-behaviour/mappers/T078-simplemapper-nosuffix.swift
Log:
updated tests to reflect the change in the meaning of the "suffix" mapper parameter: there is no automatic dot added since r6390
Modified: branches/faster/tests/language-behaviour/mappers/073-simplemapper.swift
===================================================================
--- branches/faster/tests/language-behaviour/mappers/073-simplemapper.swift 2013-03-18 05:03:59 UTC (rev 6392)
+++ branches/faster/tests/language-behaviour/mappers/073-simplemapper.swift 2013-03-18 05:05:23 UTC (rev 6393)
@@ -11,7 +11,7 @@
messagefile outfile <simple_mapper;
prefix="073-simplemapper",
- suffix="out">;
+ suffix=".out">;
outfile = write();
Modified: branches/faster/tests/language-behaviour/mappers/T078-simplemapper-nosuffix.swift
===================================================================
--- branches/faster/tests/language-behaviour/mappers/T078-simplemapper-nosuffix.swift 2013-03-18 05:03:59 UTC (rev 6392)
+++ branches/faster/tests/language-behaviour/mappers/T078-simplemapper-nosuffix.swift 2013-03-18 05:05:23 UTC (rev 6393)
@@ -1,6 +1,12 @@
// this one is like test 073-simplemapper, but doesn't
// add the missing dot in front of the suffix
+// The behavior of the suffix parameter was changed in r6390.
+// The automatic adding of a dot to the suffix could be surprising
+// and it did not compensate by helping the user much. Since r6390
+// the user must specify the dot if it's to be part of the suffix.
+// and also removes the noauto parametr
+
type messagefile;
(messagefile t) write() {
@@ -10,7 +16,7 @@
}
messagefile outfile <simple_mapper;
- prefix="T078-simplemapper-nosuffix", noauto="true",
+ prefix="T078-simplemapper-nosuffix",
suffix="_nodot.out">;
outfile = write();
More information about the Swift-commit
mailing list