'use strict'

var assert = require('assert')
var metadata = require('./index')

function foobar (val) {
  assert.equal(val, true)
  return val
}

try {
  foobar(1234)
} catch (err) {
  var e = metadata(err)
  console.log(e)
  console.log(e.line) // => 4
}

@@ -216,16 +216,37 @@
 e.log(e)
+ // =%3E AssertionError
 %0A  conso
@@ -266,12 +266,163 @@
 ) // =%3E 
-4
+7%0A  console.log(e.column) // =%3E 10%0A  console.log(e.actual) // =%3E 1234%0A  console.log(e.expected) // =%3E true%0A  console.log(e.message) // =%3E '1234 == true'
 %0A%7D%0A

update example