GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/test/sequential/test-debugger-invalid-args.js at main · ide/node Expand file tree/ Copy pathtest-debugger-invalid-args.jsMore file actions 31 lines (26 loc) · 661 Bytes / Copy pathtest-debugger-invalid-args.jsFile metadata and controls31 lines (26 loc) · 661 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 'use strict'; const common = require('../common'); common.skipIfInspectorDisabled(); const startCLI = require('../common/debugger'); const assert = require('assert'); // Launch CLI w/o args. { const cli = startCLI([]); cli.quit() .then((code) => { assert.strictEqual(code, 1); assert.match(cli.output, /^Usage:/, 'Prints usage info'); }); } // Launch w/ invalid host:port. { const cli = startCLI([`localhost:${common.PORT}`]); cli.quit() .then((code) => { assert.match( cli.output, /failed to connect/, 'Tells the user that the connection failed'); assert.strictEqual(code, 1); }); } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |