diff --git a/src/doctest.js b/src/doctest.js
index <HASH>..<HASH> 100755
--- a/src/doctest.js
+++ b/src/doctest.js
@@ -148,6 +148,8 @@ function markDownErrorLocation (result) {
 
     return `${result.codeSnippet.fileName}:${lineNumber}:${columnNumber}`;
   }
+
+  return `${result.codeSnippet.fileName}:${result.codeSnippet.lineNumber}`;
 }
 
 module.exports = {printResults, runTests};
Return a line number if it can't be determined from the trace