Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
test: include actual value in assertion message
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15935
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
mattcan authored and Qard committed Nov 2, 2017
1 parent 996cedd commit cc748f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_dataview/test.js
Original file line number Diff line number Diff line change
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 cc748f3

Please sign in to comment.