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 <[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 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
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 087d213

Please sign in to comment.