Started writing parsing tests

This commit is contained in:
Konstantin Mamalakis 2018-03-02 19:45:58 +02:00 committed by Josh Harvey
parent 2232340f6f
commit 7c0af44f46
6 changed files with 180 additions and 2 deletions

View file

@ -132,7 +132,7 @@ function promiseParseDocument (source) {
xml.on('error', err => {
xml.pause()
const message = `Error while parsing OFAC data source file (${source}): ${err.message()}`
const message = `Error while parsing OFAC data source file (${source}): ${err.message}`
reject(new Error(message))
})