Commit a896f0a6dcd7a8afa3060e85e9f6cf1ce9d5bfaa

Golmote 2015-08-30T16:06:37

Drastically increased the number of dashes (from 4 to 10) required for separations in test files, to prevent conflicts with languages syntax.

diff --git a/test-suite.html b/test-suite.html
index 51d397d..906fe81 100644
--- a/test-suite.html
+++ b/test-suite.html
@@ -79,7 +79,7 @@
 ----
 ... the simplified token stream you expect ...</code></pre>
 
-		<p>Your file is built up of two or three sections, separated by four or more dashes <code>-</code>, starting at the begin of the line:</p>
+		<p>Your file is built up of two or three sections, separated by ten or more dashes <code>-</code>, starting at the begin of the line:</p>
 		<ol>
 			<li>Your language snippet. The code you want to compile using Prism. (<strong>required</strong>)</li>
 			<li>The simplified token stream you expect. Needs to be valid JSON. (<strong>required</strong>)</li>
diff --git a/tests/helper/test-case.js b/tests/helper/test-case.js
index cba3117..80902fe 100644
--- a/tests/helper/test-case.js
+++ b/tests/helper/test-case.js
@@ -120,7 +120,7 @@ module.exports = {
 	 */
 	parseTestCaseFile: function (filePath) {
 		var testCaseSource = fs.readFileSync(filePath, "utf8");
-		var testCaseParts = testCaseSource.split(/^-{4,}\w*$/m);
+		var testCaseParts = testCaseSource.split(/^-{10,}\w*$/m);
 
 		try {
 			var testCase = {