diff --git a/languagetool-language-modules/en/src/test/java/org/languagetool/JLanguageToolTest.java b/languagetool-language-modules/en/src/test/java/org/languagetool/JLanguageToolTest.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/en/src/test/java/org/languagetool/JLanguageToolTest.java
+++ b/languagetool-language-modules/en/src/test/java/org/languagetool/JLanguageToolTest.java
@@ -44,7 +44,7 @@ public class JLanguageToolTest extends TestCase {
             "with a error in the Hitchhiker's Guide tot he Galaxy");
     for (RuleMatch match : matches) {
       System.out.println("Potential error at line " +
-              match.getEndLine() + ", column " +
+              match.getLine() + ", column " +
               match.getColumn() + ": " + match.getMessage());
       System.out.println("Suggested correction: " +
               match.getSuggestedReplacements());
minor improvement for the demo source code snippet