Skip to content

Instantly share code, notes, and snippets.

@MylesBorins
Created September 2, 2016 22:06
Show Gist options
  • Save MylesBorins/4d85f0d4a15cbbd620a17f8c8b2f28a8 to your computer and use it in GitHub Desktop.
Save MylesBorins/4d85f0d4a15cbbd620a17f8c8b2f28a8 to your computer and use it in GitHub Desktop.
1..2
ok 1 parallel/test-arm-math-exp-regress-1376
---
duration_ms: 0.102
...
not ok 2 parallel/test-npm-install
---
duration_ms: 0.858
error:
message: Failure
stack: |
assert.js:85
throw new assert.AssertionError({
^
AssertionError: npm install should run without an error
at ChildProcess.handleExit (/Users/thealphanerd/code/node/master/test/parallel/test-npm-install.js:48:10)
at ChildProcess.<anonymous> (/Users/thealphanerd/code/node/master/test/common.js:416:15)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
...
$ node -e 'require("./").pass("this is fine");throw new Error("pwn")'
TAP version 13
ok 1 - this is fine
not ok 2 - Error: pwn
---
at:
line: 1
column: 42
file: '[eval]'
stack: |
[eval]:1:42
ContextifyScript.Script.runInThisContext (vm.js:25:33)
Object.exports.runInThisContext (vm.js:77:17)
Object.<anonymous> ([eval]-wrapper:6:22)
bootstrap_node.js:357:29
_combinedTickCallback (internal/process/next_tick.js:67:7)
process._tickCallback (internal/process/next_tick.js:98:9)
test: TAP
message: 'Error: pwn'
...
1..2
# failed 1 of 2 tests
# time=19.613ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment