Skip to content

Commit

Permalink
test: include actual value in assertion message
Browse files Browse the repository at this point in the history
Backport-PR-URL: #19447
PR-URL: #15935
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
mattcan authored and MylesBorins committed Apr 16, 2018
1 parent 9cc435d commit 087d213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_dataview/test.js
Expand Up @@ -11,4 +11,4 @@ const template = Reflect.construct(DataView, [buffer]);

const theDataview = test_dataview.CreateDataView(template);
assert.ok(theDataview instanceof DataView,
'The new variable should be of type Dataview');
`Expect ${theDataview} to be a DataView`);

0 comments on commit 087d213

Please sign in to comment.