jmakeig / mltap

A JavaScript test harness for MarkLogic that (roughly) implements the Node.js tape API
Apache License 2.0
0 stars 0 forks source link

Relative paths on `at` values #59

Closed jmakeig closed 8 years ago

jmakeig commented 8 years ago

The at tests should just test the end of the string, not the whole path.

For example, at.endsWith('/throws.test.js:21:14)') below,

not ok 33 Failure location
  ---
    operator: equal
    expected: |-
      '/throws.test.sjs:20:24'
    actual: |-
      '/marklogic/test/throws.test.sjs:20:24'
    at: remote.then.then.tap (/Users/jmakeig/Workspaces/mltap/node/test/throws.test.js:21:14)
  ...