           block: Extensions.IndentBlocks.getPropsToSubparseToEolAndBlock()
 
     test "simple expression", ->
-      MyParser.parse "one"
+      MyEolOrBlockParser.parse "one"
 
     test "simple block", ->
-      MyParser.parse """
+      MyEolOrBlockParser.parse """
         one
           two
         """
 
     test "simple eol", ->
-      MyParser.parse """
+      MyEolOrBlockParser.parse """
         one two
         """
 
     test "nested blocks", ->
-      MyParser.parse """
+      MyEolOrBlockParser.parse """
         one
           two
             three
         """
 
     test "nested eols", ->
-      MyParser.parse """
+      MyEolOrBlockParser.parse """
         one two three
         """
 
     test "nested eols and blocks", ->
-      MyParser.parse """
+      MyEolOrBlockParser.parse """
         one two
           three
         """
+
+    suite "failure location", ->
+      test "in EOL content", ->
+        parser = new MyEolOrBlockParser
+        assert.rejects -> parser.parse """
+          one -two
+          """
+        .then (rejectsWith) ->
+          assert.eq parser._failureIndex, 4
+
+      test "in block with EOL content", ->
+        parser = new MyEolOrBlockParser
+        assert.rejects -> parser.parse """
+          one two
+            -abc
+          """
+        .then (rejectsWith) ->
+          assert.eq parser._failureIndex, 10
+
+      test "in block without EOL content", ->
+        parser = new MyEolOrBlockParser
+        assert.rejects -> parser.parse """
+          one
+            -abc
+          """
+        .then (rejectsWith) ->
+          assert.eq parser._failureIndex, 6
 
   CaffeineScriptObjectNotation: ->
     IndentBlocksNode = MyParser = null

            assert.eq parser._failureIndex, 6

        test "first line", ->
          parser = new MyParser
          assert.rejects -> parser.parse """
            abc
              def-

    suite "failure location", ->
      suite 'baseline without block', ->
        test "before first line", ->
          parser = new MyBlockParser
          assert.rejects -> parser.parse """
            -abc
            """
