« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/data/things/validators.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data/things/validators.js b/src/data/things/validators.js
index 1ef23d07..fb6f1da0 100644
--- a/src/data/things/validators.js
+++ b/src/data/things/validators.js
@@ -511,13 +511,13 @@ export function isContentString(content) {
 
     const where =
       (match[0].length === containingLine.length
-        ? `all of ${linePart}`
+        ? `as all of ${linePart}`
      : columnNumber === 0
         ? (isMultiline
-            ? `start of ${linePart}`
+            ? `at start of ${linePart}`
             : `at start`)
         : (isMultiline
-            ? `end of ${linePart}`
+            ? `at end of ${linePart}`
             : `at end`));
 
     const whitespacePart =
@@ -525,7 +525,7 @@ export function isContentString(content) {
 
     const parts = [
       `Matched ${whitespacePart}`,
-      `(${where})`,
+      where,
     ];
 
     trimWhitespaceAggregate.push(new TypeError(parts.join(` `)));