diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ let bqn = require(__dirname+'/../docs/bqn.js'); let read = require('fs').readFileSync; let cases = f=>read(__dirname+'/cases/'+f+'.bqn','utf8').split('\n') .filter(x=>x.length>0 && x.charAt(0)!=='#') - .map(x=>x.indexOf('%')===-1?[1,x]:x.split(' % ')); + .map(x=>x.indexOf('%')===-1?["1",x]:x.split(' % ')); let args = process.argv.slice(2); let files = args.length ? args : ['simple','syntax']; |
