diff options
Diffstat (limited to 'test/message/throw_non_error.js')
-rw-r--r-- | test/message/throw_non_error.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/message/throw_non_error.js b/test/message/throw_non_error.js index afea96f49c..defa0791e6 100644 --- a/test/message/throw_non_error.js +++ b/test/message/throw_non_error.js @@ -28,6 +28,6 @@ var assert = require('assert'); common.error('before'); // custom error throwing -throw { foo: 'bar' }; +throw ({ foo: 'bar' }); common.error('after'); |