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


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

      ""  1974    8.8392926E7 ""t ""
      "  1974    8.8392926E7 ""t "
      "  1974    8.8392926E7 "t ""
    """, quote: '"', escape: '"', delimiter: "\t", (err, data) ->
      err.message.should.match /Invalid closing quote at line 3/
      (data == undefined).should.be.true
      next()
    
  it 'should display correct line number when invalid quotes from string', (next) ->
