 
 describe 'line counter', ->
   
-  it 'should display correct line number when parse error', (next) ->
+  it 'should display correct line number when invalid opening quotes', (next) ->
     parse """
     "this","line","is",valid
     "this","line",is,"also",valid

    "",1974,8.8392926E7,"",""
    """, (err, data) ->
      err.message.should.match /Quoted field not terminated at line 4/
      next()
    
  it 'should display correct line number when invalid quotes', (next) ->

    "",1974,8.8392926E7,"",""
    "",1974,8.8392926E7,"",""
    "",1974,8.8392926E7,""t,""
    """, quote: '"', escape: '"', (err, data) ->
      err.message.should.match /Invalid closing quote at line 2/
      (data == undefined).should.be.true
      next()
