diff options
author | aniketshukla <asr563up@gmail.com> | 2017-06-04 00:41:42 +0530 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-06-07 08:56:06 -0400 |
commit | 12e39d6d943348a19da1bf84d4891aa28cd3ffb6 (patch) | |
tree | 9200d2aab0fdc661203d99dce807b98cdbe7fe5d /deps/uv/test/test-ref.c | |
parent | c05561eb0529d973d873e48adfd86690c3be90e5 (diff) | |
download | android-node-v8-12e39d6d943348a19da1bf84d4891aa28cd3ffb6.tar.gz android-node-v8-12e39d6d943348a19da1bf84d4891aa28cd3ffb6.tar.bz2 android-node-v8-12e39d6d943348a19da1bf84d4891aa28cd3ffb6.zip |
test: validate full error messages
test: changed test2 of test-vm-timeout.js so that entire error message
would be matched in assert.throw.
Before test 2 of test-vm-timeout.js would match any RangeError,
now it looks specifically for the error message
"RangeError: timeout must be a positive number"
test: changed test 3 of test-vm-timeout.js so that entire error message
would be matched in assert.throw.
Before test 3 of test-vm-timeout.js would match any RangeError,
now it looks specifically for the error message
"RangeError: timeout must be a positive number"
PR-URL: https://github.com/nodejs/node/pull/13453
Refs: https://github.com/nodejs/node/issues/13454
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'deps/uv/test/test-ref.c')
0 files changed, 0 insertions, 0 deletions