replace
replace copied to clipboard
tests fail due to missing test_files/test_numbers.txt
Tests fail as below. Maybe you just forgot to git add test_numbers.txt?
$ tap test
ok test/paths.js ...................................... 19/19
not ok test/sanity.js ................................... 2/3
Command: "node" "sanity.js"
TAP version 13
ok 1 single letter replace works
ok 2 reverting worked
not ok 3 test/sanity.js
---
exit: 7
stderr: |
/usr/lib/node_modules/tape/index.js:75
throw err
^
Error: ENOENT, no such file or directory './test_files/test_numbers.txt'
at Object.fs.lstatSync (fs.js:690:18)
at replacizeFileSync (/home/dcallagh/work/replace/replace.js:121:22)
at module.exports (/home/dcallagh/work/replace/replace.js:64:13)
at Test.file (/home/dcallagh/work/replace/test/sanity.js:39:3)
at Test.bound [as _cb] (/usr/lib/node_modules/tape/lib/test.js:59:32)
at Test.run (/usr/lib/node_modules/tape/lib/test.js:72:10)
at Test.bound [as run] (/usr/lib/node_modules/tape/lib/test.js:59:32)
at Object.next [as _onImmediate] (/usr/lib/node_modules/tape/lib/results.js:66:15)
at processImmediate [as _immediateCallback] (timers.js:345:15)
command: "node" "sanity.js"
...
1..3
# tests 3
# pass 2
# fail 1
total ................................................. 21/22
not ok