             assert.eq parser._failureIndex, 0
 
         test "first line", ->
-          parser = new MyParser
+          parser = new MyBlockParser
           assert.rejects -> parser.parse """
             abc-
             """

            # log {rejectsWith, parser}
            assert.eq parser._failureIndex, 28

  eolOrblockParsing: ->
    MyParser = null
    setup ->
      class MyParser extends Parser

        @rule
          root: 'expression block? end'

            assert.eq parser._failureIndex, 6

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