Skip to content

Commit

Permalink
test: include actual value in assertion message
Browse files Browse the repository at this point in the history
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 gibfahn committed Oct 30, 2017
1 parent 95f056a commit 34a1e0c
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 34a1e0c

Please sign in to comment.