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 tniessen committed Oct 29, 2017
1 parent 2875459 commit 201ecef
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 201ecef

Please sign in to comment.